Skip to content

Commit

Permalink
fix(evm): cometbls - ensure non adjacent valroot is taken from header
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-aitlahcen committed Oct 9, 2023
1 parent 446e734 commit bdd3e4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion evm/contracts/clients/CometblsClient.sol
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,9 @@ contract CometblsClient is ILightClient {
untrustedValidatorsHash = trustedValidatorsHash;
} else {
untrustedValidatorsHash = header
.untrusted_validator_set_root
.signed_header
.header
.validators_hash
.toBytes32(0);
}

Expand Down

0 comments on commit bdd3e4e

Please sign in to comment.