Skip to content

Commit

Permalink
Merge pull request #2187 from AleoHQ/howardwu-patch-1
Browse files Browse the repository at this point in the history
[NCC] Fix ratifications
  • Loading branch information
howardwu authored Nov 24, 2023
2 parents a1d9b33 + 186b099 commit 710b12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/block/src/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ impl<N: Network> Block<N> {
let height = self.height();

// Ensure there are sufficient ratifications.
ensure!(!self.ratifications.len() >= 2, "Block {height} must contain at least 2 ratifications");
ensure!(self.ratifications.len() >= 2, "Block {height} must contain at least 2 ratifications");

// Initialize a ratifications iterator.
let mut ratifications_iter = self.ratifications.iter();
Expand Down

0 comments on commit 710b12d

Please sign in to comment.