channeldb: add todo for more detailed failure reasons

This commit is contained in:
Joost Jager 2019-05-01 14:31:24 +02:00
parent f03533c67a
commit 2644759924
No known key found for this signature in database
GPG Key ID: A61B9D4C393C59C7

@ -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