Skip to content

Commit

Permalink
Update node/bft/src/bft.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Howard Wu <9260812+howardwu@users.noreply.github.com>
Signed-off-by: Raymond Chu <14917648+raychu86@users.noreply.github.com>
  • Loading branch information
raychu86 and howardwu committed Mar 9, 2024
1 parent 6594816 commit 6ad228d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions node/bft/src/bft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -807,10 +807,9 @@ impl<N: Network> BFT<N> {
/// Syncs the BFT DAG with the given batch certificates. These batch certificates **must**
/// already exist in the ledger.
///
/// This method commits all the certificates into the dag.
/// This method commits all the certificates into the DAG.
/// Note that there is no need to insert the certificates into the DAG, because these certificates
/// already exist in the ledger and therefor do not need to be re-ordered into future
/// committed subdags.
/// already exist in the ledger and therefore do not need to be re-ordered into future committed subdags.
async fn sync_bft_dag_at_bootup(&self, certificates: Vec<BatchCertificate<N>>) {
// Acquire the BFT write lock.
let mut dag = self.dag.write();
Expand Down

0 comments on commit 6ad228d

Please sign in to comment.