From 2644759924e2ee28333d50416b8f0c37ddcf5ba2 Mon Sep 17 00:00:00 2001 From: Joost Jager Date: Wed, 1 May 2019 14:31:24 +0200 Subject: [PATCH] channeldb: add todo for more detailed failure reasons --- channeldb/payments.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/channeldb/payments.go b/channeldb/payments.go index 934a3946e..7081e14b4 100644 --- a/channeldb/payments.go +++ b/channeldb/payments.go @@ -95,6 +95,10 @@ const ( FailureReasonNoRoute FailureReason = 1 // TODO(halseth): cancel state. + + // TODO(joostjager): Add failure reasons for: + // UnknownPaymentHash, FinalInvalidAmt, FinalInvalidCltv + // LocalLiquidityInsufficient, RemoteCapacityInsufficient. ) // String returns a human readable FailureReason