mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-11 18:04:18 +00:00
Swap ImportQueue from a Map to a Vec
There's an edge case where different blocks can have the same block body.
This commit is contained in:
@@ -511,7 +511,10 @@ fn sync_two_nodes() {
|
||||
|
||||
// Node A builds out a longer, better chain.
|
||||
for _ in 0..blocks {
|
||||
// Node A should build a block.
|
||||
node_a.harness.advance_chain_with_block();
|
||||
// Node B should just increment it's slot without a block.
|
||||
node_b.harness.increment_beacon_chain_slot();
|
||||
}
|
||||
node_a.harness.run_fork_choice();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user