fix spec/beaconstate compile error in the presence of other PRs' SSZ tightening (#952)
This commit is contained in:
parent
3a56ddc5c4
commit
cd939d4606
|
@ -275,7 +275,7 @@ proc initialize_hashed_beacon_state_from_eth1*(
|
||||||
flags: UpdateFlags = {}): HashedBeaconState =
|
flags: UpdateFlags = {}): HashedBeaconState =
|
||||||
let genesisState = initialize_beacon_state_from_eth1(
|
let genesisState = initialize_beacon_state_from_eth1(
|
||||||
eth1_block_hash, eth1_timestamp, deposits, flags)
|
eth1_block_hash, eth1_timestamp, deposits, flags)
|
||||||
HashedBeaconState(data: genesisState[], root: hash_tree_root(genesisState))
|
HashedBeaconState(data: genesisState[], root: hash_tree_root(genesisState[]))
|
||||||
|
|
||||||
func is_valid_genesis_state*(state: BeaconState): bool =
|
func is_valid_genesis_state*(state: BeaconState): bool =
|
||||||
if state.genesis_time < MIN_GENESIS_TIME:
|
if state.genesis_time < MIN_GENESIS_TIME:
|
||||||
|
|
Loading…
Reference in New Issue