server: properly add user initiated persistent conns to persistentPeers map
This commit fixes a prior bug wherein if a user connected to a peer using the —perm command, then once the peer was disconnected, we wouldn’t automatically connect to them.
This commit is contained in:
2 files changed
+2
No files matched your search
@@ -861,6 +861,7 @@ mempoolPoll:
|
||||
|
||||
// Now that the channel has been fully swept, it should no longer show
|
||||
// up within the pending channels RPC.
|
||||
time.Sleep(time.Millisecond * 300)
|
||||
pendingChans, err := net.Alice.PendingChannels(ctxb, pendingChansRequest)
|
||||
if err != nil {
|
||||
t.Fatalf("unable to query for pending channels: %v", err)
|
||||
|
||||
Reference in new issue
Block a user