mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-26 01:05:15 +00:00
Merge branch 'dev' into epoch-start
This commit is contained in:
commit
7dc61c6126
@ -1655,7 +1655,7 @@ def lmd_ghost(store: Store, start_state: BeaconState, start_block: BeaconBlock)
|
|||||||
children = get_children(store, head)
|
children = get_children(store, head)
|
||||||
if len(children) == 0:
|
if len(children) == 0:
|
||||||
return head
|
return head
|
||||||
head = max(children, key=get_vote_count)
|
head = max(children, key=lambda x: (get_vote_count(x), hash_tree_root(x)))
|
||||||
```
|
```
|
||||||
|
|
||||||
## Beacon chain state transition function
|
## Beacon chain state transition function
|
||||||
|
Loading…
x
Reference in New Issue
Block a user