reuse pre-computed root for sig verification (#3048)
no point re-hashing arguments
This commit is contained in:
parent
3bfb5ad367
commit
98668dbf16
|
@ -70,7 +70,7 @@ proc verify_block_signature(
|
|||
|
||||
if not verify_block_signature(
|
||||
state.fork, state.genesis_validators_root, signed_block.message.slot,
|
||||
signed_block.message, state.validators[proposer_index].pubkey,
|
||||
signed_block.root, state.validators[proposer_index].pubkey,
|
||||
signed_block.signature):
|
||||
notice "Block: signature verification failed",
|
||||
blck = shortLog(signedBlock)
|
||||
|
|
Loading…
Reference in New Issue