diff --git a/consensus/src/quorum_store/proof_manager.rs b/consensus/src/quorum_store/proof_manager.rs index 6a278c5b52277..a33e0c1165292 100644 --- a/consensus/src/quorum_store/proof_manager.rs +++ b/consensus/src/quorum_store/proof_manager.rs @@ -77,8 +77,7 @@ impl ProofManager { batch_summaries: Vec<(BatchInfo, Vec)>, ) { self.batch_proof_queue.insert_batches(batch_summaries); - (self.remaining_total_txn_num, self.remaining_total_proof_num) = - self.batch_proof_queue.remaining_txns_and_proofs(); + self.update_remaining_txns_and_proofs(); } pub(crate) fn handle_commit_notification(