htlcswitch/switch: use paymentResultStore to keep track of results
This commit is contained in:
2 files changed
+60
-97
No files matched your search
@@ -3909,8 +3909,8 @@ func TestChannelLinkAcceptDuplicatePayment(t *testing.T) {
|
||||
err = n.aliceServer.htlcSwitch.SendHTLC(
|
||||
n.firstBobChannelLink.ShortChanID(), pid, htlc,
|
||||
)
|
||||
if err != ErrPaymentIDAlreadyExists {
|
||||
t.Fatalf("ErrPaymentIDAlreadyExists should have been "+
|
||||
if err != ErrDuplicateAdd {
|
||||
t.Fatalf("ErrDuplicateAdd should have been "+
|
||||
"received got: %v", err)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user