From 680eacaa8360d5f46eaae9611a3097ba183795c6 Mon Sep 17 00:00:00 2001 From: Riccardo Casatta Date: Mon, 25 Nov 2024 15:32:48 +0100 Subject: [PATCH] Convert unreachable to warn --- src/electrum/discovery.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/electrum/discovery.rs b/src/electrum/discovery.rs index cf70221f6..172bba8d0 100644 --- a/src/electrum/discovery.rs +++ b/src/electrum/discovery.rs @@ -307,7 +307,8 @@ impl DiscoveryManager { entry.remove_entry(); } } else { - unreachable!("missing expected server, corrupted state"); + // FIXME This was an unreachable but it was reached. + log::warn!("missing expected server, corrupted state"); } }