Skip to content

Commit

Permalink
fix: partial move
Browse files Browse the repository at this point in the history
  • Loading branch information
onbjerg committed Jun 24, 2024
1 parent b091519 commit 43e8500
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/eips/src/eip7702/auth_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ impl SignedAuthorization<alloy_primitives::Signature> {
/// Recover the authority and transform the signed authorization into a
/// [`RecoveredAuthorization`].
pub fn into_recovered(self) -> RecoveredAuthorization {
RecoveredAuthorization { inner: self.inner, authority: self.recover_authority().ok() }
let authority = self.recover_authority().ok();
RecoveredAuthorization { inner: self.inner, authority }
}
}

Expand Down

0 comments on commit 43e8500

Please sign in to comment.