multi: thread thru RPC caller context from CloseChannel

This commit is contained in:
Olaoluwa Osuntokun committed 2025-03-18 11:44:20 -05:00
1 parent 127d3bed66
commit bf3007a2ce
5 files changed
+59 -49

No files matched your search

+1 -1
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{