diff --git a/programs/bpf_loader/src/syscalls/cpi.rs b/programs/bpf_loader/src/syscalls/cpi.rs index b607a1c9075e1e..676f6c12d5e0a4 100644 --- a/programs/bpf_loader/src/syscalls/cpi.rs +++ b/programs/bpf_loader/src/syscalls/cpi.rs @@ -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()