Skip to content

Commit

Permalink
Remove redundant check (Snowfork#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
alistair-singh authored Nov 27, 2023
1 parent 77baefb commit 7345872
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions contracts/src/BeefyClient.sol
Original file line number Diff line number Diff line change
Expand Up @@ -260,10 +260,6 @@ contract BeefyClient {
revert InvalidValidatorProof();
}

if (commitment.validatorSetID != vset.id) {
revert InvalidCommitment();
}

// Check if validatorSignature is correct, ie. check if it matches
// the signature of senderPublicKey on the commitmentHash
bytes32 commitmentHash = keccak256(encodeCommitment(commitment));
Expand Down

0 comments on commit 7345872

Please sign in to comment.