mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
bugfix: dont remove address when connection is opened for outbound
This commit is contained in:
@@ -156,7 +156,6 @@ impl OutboundSession {
|
||||
self.p2p().remove_pending(&addr).await;
|
||||
{
|
||||
let info = &mut self.slot_info.lock().await[slot_number as usize];
|
||||
info.addr = None;
|
||||
info.channel = Some(channel.clone());
|
||||
info.state = OutboundState::Connected;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user