routing+channeldb: add more failure reasons

This commit is contained in:
Joost Jager committed 2019-07-04 09:27:12 +02:00
1 parent d6d87e12fe
commit ae46fb00cb
7 files changed
+241 -167

No files matched your search

+1 -1
View File
@@ -13803,7 +13803,7 @@ func testHoldInvoicePersistence(net *lntest.NetworkHarness, t *harnessTest) {
status.State)
}
} else {
if status.State != routerrpc.PaymentState_FAILED_NO_ROUTE {
if status.State != routerrpc.PaymentState_FAILED_INCORRECT_PAYMENT_DETAILS {
t.Fatalf("state not failed: %v",
status.State)
}