Skip to content

Commit aa39f14

Browse files
committed
fix typos and make CI happy
1 parent 9aaaf06 commit aa39f14

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/processor/fast/commit_state.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,10 @@ pub(crate) fn process_commit_state_internal(
174174
.map_err(to_pinocchio_program_error)?;
175175

176176
// Check that the authority is allowed to commit
177-
if !address_eq(&delegation_record.authority.to_bytes().into(), unsafe {
178-
args.validator.owner()
179-
}) {
177+
if !address_eq(
178+
&delegation_record.authority.to_bytes().into(),
179+
args.validator.address(),
180+
) {
180181
log!("validator is not the delegation authority. validator: ");
181182
args.validator.address().log();
182183
log!("delegation authority: ");

0 commit comments

Comments
 (0)