Skip to content

Commit

Permalink
fix equality test (#16007)
Browse files Browse the repository at this point in the history
  • Loading branch information
mystenmark authored Jan 30, 2024
1 parent 1a3a422 commit a9f9bec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui-core/src/stake_aggregator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ impl<S: Clone + Eq, const STRENGTH: bool> StakeAggregator<S, STRENGTH> {
return InsertResult::Failed {
error: SuiError::StakeAggregatorRepeatedSigner {
signer: authority,
conflicting_sig: oc.get() == &s,
conflicting_sig: oc.get() != &s,
},
};
}
Expand Down

0 comments on commit a9f9bec

Please sign in to comment.