channeldb+routing: htlcs are pruned on settle

This commit is contained in:
Tommy Volk committed 2022-07-03 21:04:34 +00:00
1 parent 8291e8a170
commit 2dd11ed249
6 files changed
+164 -5

No files matched your search

+2
View File
@@ -3571,6 +3571,7 @@ func TestSendMPPaymentSucceed(t *testing.T) {
}
}
})
controlTower.On("DeleteFailedAttempts", identifier).Return(nil)
// Call the actual method SendPayment on router. This is place inside a
// goroutine so we can set a timeout for the whole test, in case
@@ -3782,6 +3783,7 @@ func TestSendMPPaymentSucceedOnExtraShards(t *testing.T) {
return
}
})
controlTower.On("DeleteFailedAttempts", identifier).Return(nil)
// Call the actual method SendPayment on router. This is place inside a
// goroutine so we can set a timeout for the whole test, in case