Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
moshababo committed Dec 1, 2023
1 parent 958212a commit e84c3e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions node/actors/bft/src/leader/replica_commit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ impl StateMachine {
let message = signed_message.msg;
let author = &signed_message.key;

// Check that the message signer is in the validator set.
consensus
.validator_set
.index(author)
Expand Down
1 change: 1 addition & 0 deletions node/actors/bft/src/leader/replica_prepare.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ impl StateMachine {
let message = signed_message.msg.clone();
let author = &signed_message.key;

// Check that the message signer is in the validator set.
consensus
.validator_set
.index(author)
Expand Down

0 comments on commit e84c3e1

Please sign in to comment.