mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-13 12:14:19 +00:00
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)
|
signing_root = compute_signing_root(block_root, domain)
|
||||||
signature = bls.Sign(privkey, signing_root)
|
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
|
##### Broadcast sync committee signature
|
||||||
|
Loading…
x
Reference in New Issue
Block a user