From a9f9bec952bb2c968657a52be4a3e811abda6c83 Mon Sep 17 00:00:00 2001 From: Mark Logan <103447440+mystenmark@users.noreply.github.com> Date: Tue, 30 Jan 2024 13:14:16 -0800 Subject: [PATCH] fix equality test (#16007) --- crates/sui-core/src/stake_aggregator.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sui-core/src/stake_aggregator.rs b/crates/sui-core/src/stake_aggregator.rs index c29d6bc52ad72..7b4910d23d5dd 100644 --- a/crates/sui-core/src/stake_aggregator.rs +++ b/crates/sui-core/src/stake_aggregator.rs @@ -64,7 +64,7 @@ impl StakeAggregator { return InsertResult::Failed { error: SuiError::StakeAggregatorRepeatedSigner { signer: authority, - conflicting_sig: oc.get() == &s, + conflicting_sig: oc.get() != &s, }, }; }