Skip to content

Commit 6ed2de9

Browse files
committed
feat: temporarily allow microforked peering
1 parent 845e336 commit 6ed2de9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

node/src/actors/session/handlers.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -807,8 +807,10 @@ fn check_beacon_compatibility(
807807
}),
808808
// current_checkpoint == received_checkpoint
809809
Ordering::Equal => {
810-
if current_beacon.highest_block_checkpoint.hash_prev_block
811-
== received_beacon.highest_block_checkpoint.hash_prev_block
810+
if current_beacon.highest_superblock_checkpoint.hash_prev_block
811+
== received_beacon
812+
.highest_superblock_checkpoint
813+
.hash_prev_block
812814
{
813815
// Beacons are equal
814816
Ok(())

0 commit comments

Comments
 (0)