Skip to content

Commit

Permalink
fix: seed thread panicked on a try_read unwrap
Browse files Browse the repository at this point in the history
  • Loading branch information
garyyu committed Oct 5, 2018
1 parent 48f9ec6 commit 6978057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/src/peers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down

0 comments on commit 6978057

Please sign in to comment.