diff --git a/node/actors/bft/src/leader/replica_commit.rs b/node/actors/bft/src/leader/replica_commit.rs index 03ee1b85..c84e4919 100644 --- a/node/actors/bft/src/leader/replica_commit.rs +++ b/node/actors/bft/src/leader/replica_commit.rs @@ -163,7 +163,7 @@ impl StateMachine { .config .genesis() .validators - .weight_from_msgs(&by_proposal_before.entry(proposal).or_default()); + .weight_from_msgs(by_proposal_before.entry(proposal).or_default()); // to ensure this is the first time the threshold has been reached debug_assert!(previous_weight < threshold);