diff --git a/channeldb/payments.go b/channeldb/payments.go index 934a3946..7081e14b 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