Fix clippy warning

This commit is contained in:
Justin Starry 2022-07-17 12:23:03 +02:00
parent fd6038884b
commit ca4d917081
1 changed files with 3 additions and 2 deletions

View File

@ -690,9 +690,10 @@ where
.feature_set
.is_active(&enable_early_verification_of_account_modifications::id())
{
Err(SyscallError::InstructionError(
return Err(SyscallError::InstructionError(
InstructionError::RentEpochModified,
))?;
)
.into());
} else {
callee_account
.borrow_mut()