routing+channeldb: add more failure reasons

This commit is contained in:
Joost Jager
2019-06-04 11:22:23 +02:00
parent d6d87e12fe
commit ae46fb00cb
7 changed files with 241 additions and 167 deletions

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)
}