Skip to content

Commit

Permalink
apply clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 committed Nov 15, 2024
1 parent c837a67 commit 37a4b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/bpf_loader/src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2106,7 +2106,7 @@ declare_builtin_function!(
Ok(invoke_context
.get_epoch_vote_stake()
.get(vote_address)
.map(|stake| *stake)
.copied()
.unwrap_or(0))
}
}
Expand Down

0 comments on commit 37a4b02

Please sign in to comment.