multi: thread thru RPC caller context from CloseChannel

This commit is contained in:
Olaoluwa Osuntokun
2025-02-10 18:34:34 -08:00
parent 127d3bed66
commit bf3007a2ce
5 changed files with 59 additions and 49 deletions

View File

@@ -337,7 +337,7 @@ func createTestPeerWithChannel(t *testing.T, updateChan func(a,
chanID := lnwire.NewChanIDFromOutPoint(channelAlice.ChannelPoint())
alicePeer.activeChannels.Store(chanID, channelAlice)
alicePeer.wg.Add(1)
alicePeer.cg.WgAdd(1)
go alicePeer.channelManager()
return &peerTestCtx{