mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-21 06:48:12 +00:00
Bugfix: should set shard
for empty proposal
This commit is contained in:
parent
e1981a7bfd
commit
d344521741
@ -221,7 +221,7 @@ def get_proposal_at_slot(beacon_state: BeaconState,
|
||||
validate_signature=validate_signature,
|
||||
)
|
||||
if len(choices) == 0:
|
||||
block = ShardBlock(slot=slot)
|
||||
block = ShardBlock(slot=slot, shard=shard)
|
||||
proposal = SignedShardBlock(message=block)
|
||||
elif len(choices) == 1:
|
||||
proposal = choices[0]
|
||||
|
Loading…
x
Reference in New Issue
Block a user