We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aaaf06 commit aa39f14Copy full SHA for aa39f14
1 file changed
src/processor/fast/commit_state.rs
@@ -174,9 +174,10 @@ pub(crate) fn process_commit_state_internal(
174
.map_err(to_pinocchio_program_error)?;
175
176
// Check that the authority is allowed to commit
177
- if !address_eq(&delegation_record.authority.to_bytes().into(), unsafe {
178
- args.validator.owner()
179
- }) {
+ if !address_eq(
+ &delegation_record.authority.to_bytes().into(),
+ args.validator.address(),
180
+ ) {
181
log!("validator is not the delegation authority. validator: ");
182
args.validator.address().log();
183
log!("delegation authority: ");
0 commit comments