multi: make NewChanIDFromOutpoint accept value instead of pointer
This commit is contained in:
1 parent
fd1cd315ce
commit
db39a905cb
27 files changed
+108
-106
No files matched your search
@@ -1497,7 +1497,7 @@ func TestChannelLinkMultiHopUnknownNextHop(t *testing.T) {
|
||||
// back the payment to Alice since he is unaware of Carol when the
|
||||
// payment comes across.
|
||||
bobChanID := lnwire.NewChanIDFromOutPoint(
|
||||
&channels.bobToCarol.State().FundingOutpoint,
|
||||
channels.bobToCarol.ChannelPoint(),
|
||||
)
|
||||
n.bobServer.htlcSwitch.RemoveLink(bobChanID)
|
||||
|
||||
@@ -3763,7 +3763,7 @@ func TestChannelRetransmission(t *testing.T) {
|
||||
}
|
||||
|
||||
chanPoint := channels.aliceToBob.ChannelPoint()
|
||||
chanID := lnwire.NewChanIDFromOutPoint(&chanPoint)
|
||||
chanID := lnwire.NewChanIDFromOutPoint(chanPoint)
|
||||
serverErr := make(chan error, 4)
|
||||
|
||||
aliceInterceptor := createInterceptorFunc("[alice] <-- [bob]",
|
||||
|
||||
Reference in new issue
Block a user