multi: don't leak underlying pointer to LightningChannel.ChannelPoint()
This commit is contained in:
1 parent
e9b3808c29
commit
fd1cd315ce
11 files changed
+53
-42
No files matched your search
@@ -3762,7 +3762,8 @@ func TestChannelRetransmission(t *testing.T) {
|
||||
t.Fatalf("unable to create channel: %v", err)
|
||||
}
|
||||
|
||||
chanID := lnwire.NewChanIDFromOutPoint(channels.aliceToBob.ChannelPoint())
|
||||
chanPoint := channels.aliceToBob.ChannelPoint()
|
||||
chanID := lnwire.NewChanIDFromOutPoint(&chanPoint)
|
||||
serverErr := make(chan error, 4)
|
||||
|
||||
aliceInterceptor := createInterceptorFunc("[alice] <-- [bob]",
|
||||
|
||||
Reference in new issue
Block a user