From 543156f4ddc7acc2fe5b4f416f051b5b0a3c051d Mon Sep 17 00:00:00 2001 From: viraladmin <00purple@gmail.com> Date: Wed, 8 Jul 2026 10:43:33 -0600 Subject: [PATCH] bootstrap fixes --- src/rpc/server/handshake.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/rpc/server/handshake.rs b/src/rpc/server/handshake.rs index 42cc1c3..c7d6182 100644 --- a/src/rpc/server/handshake.rs +++ b/src/rpc/server/handshake.rs @@ -77,11 +77,9 @@ async fn sync_incoming_peer_before_operational( if local_genesis_exists && remote_height < local_height { warn!( - "[startup] incoming peer is behind local chain and must reconnect through its own sync path: local_height={local_height} remote_height={remote_height}" + "[startup] incoming peer is behind local chain; keeping connection passive until peer catches up: local_height={local_height} remote_height={remote_height}" ); - return Err(format!( - "incoming peer is behind local chain: local_height={local_height} remote_height={remote_height}" - )); + return Ok(false); } if !local_genesis_exists || remote_height > local_height + 10 {