fix light client sig verification in phase 1

This commit is contained in:
Danny Ryan 2020-03-09 14:52:30 -06:00
parent 186d4258b6
commit 92eef0e00b
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 1 deletions

View File

@ -859,7 +859,7 @@ def process_light_client_signatures(state: BeaconState, block_body: BeaconBlockB
slot = get_previous_slot(state.slot)
signing_root = compute_signing_root(get_block_root_at_slot(state, slot),
get_domain(state, DOMAIN_LIGHT_CLIENT, compute_epoch_at_slot(slot)))
return bls.FastAggregateVerify(signer_pubkeys, signing_root, signature=block_body.light_client_signature)
assert bls.FastAggregateVerify(signer_pubkeys, signing_root, signature=block_body.light_client_signature)
```