Merge pull request #1664 from garyyu/fix1015

fix: seed thread panicked on a try_read unwrap
This commit is contained in:
hashmap
2018-10-05 15:39:16 +02:00
committed by GitHub
+1 -1
View File
@@ -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"),