Skip to content

Commit 8621191

Browse files
committed
Missed a place with last update
1 parent ef55bb5 commit 8621191

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

p-token/src/entrypoint-runtime-verification.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -759,9 +759,9 @@ fn inner_test_validate_owner(
759759
else if !owner_account_info.is_signer() {
760760
assert_eq!(result, Err(ProgramError::MissingRequiredSignature));
761761
return result;
762-
} else {
763-
return result;
764762
}
763+
764+
Ok(())
765765
}
766766

767767
// wrapper to ensure the test below is in the SMIR JSON

0 commit comments

Comments
 (0)