Include block_root in SyncCommitteeSignature
This commit is contained in:
parent
d598c09876
commit
65f48178b7
|
@ -282,7 +282,7 @@ def get_sync_committee_signature(state: BeaconState,
|
|||
signing_root = compute_signing_root(block_root, domain)
|
||||
signature = bls.Sign(privkey, signing_root)
|
||||
|
||||
return SyncCommitteeSignature(slot=state.slot, validator_index=validator_index, signature=signature)
|
||||
return SyncCommitteeSignature(slot=state.slot, beacon_block_root=block_root, validator_index=validator_index, signature=signature)
|
||||
```
|
||||
|
||||
##### Broadcast sync committee signature
|
||||
|
|
Loading…
Reference in New Issue