Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
joncinque committed Aug 4, 2021
1 parent 87403c8 commit 4b2b0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/stake/src/stake_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6848,7 +6848,7 @@ mod tests {
.unwrap();
assert_eq!(
new_stake.credits_observed,
(credits_a * delegation + credits_b * delegation) / (delegation + delegation)
(credits_a * delegation + credits_b * delegation) / (delegation * 2)
);
assert_eq!(new_stake.delegation.stake, delegation * 2);
}
Expand Down

0 comments on commit 4b2b0ee

Please sign in to comment.