From 697805752c0c2857af7e570170307e994d396708 Mon Sep 17 00:00:00 2001 From: Gary Yu Date: Fri, 5 Oct 2018 21:16:44 +0800 Subject: [PATCH] fix: seed thread panicked on a try_read unwrap --- p2p/src/peers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p2p/src/peers.rs b/p2p/src/peers.rs index ffd7e903a0..b86cfb354d 100644 --- a/p2p/src/peers.rs +++ b/p2p/src/peers.rs @@ -97,7 +97,7 @@ impl Peers { debug!( LOGGER, "Successfully updated Dandelion relay to: {}", - peer.try_read().unwrap().info.addr + peer.read().unwrap().info.addr ); } None => debug!(LOGGER, "Could not update dandelion relay"),