Skip to content

Commit

Permalink
chore: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
FelipeRosa committed May 28, 2024
1 parent 191c0ea commit 7b70bf6
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,8 @@ impl IndexedVoterRegistrationParams {
return None;
}

let Some(cip36_metadata) =
Cip36Metadata::generate_from_tx_metadata(&tx.metadata(), network)
else {
return None;
};
let cip36_metadata =
Cip36Metadata::generate_from_tx_metadata(&tx.metadata(), network)?;

let (stake_credential, voting_info, rewards_address, nonce) =
if let Some(reg) = cip36_metadata.registration {
Expand Down

0 comments on commit 7b70bf6

Please sign in to comment.