channeldb: add todo for more detailed failure reasons
This commit is contained in:
parent
f03533c67a
commit
2644759924
@ -95,6 +95,10 @@ const (
|
|||||||
FailureReasonNoRoute FailureReason = 1
|
FailureReasonNoRoute FailureReason = 1
|
||||||
|
|
||||||
// TODO(halseth): cancel state.
|
// TODO(halseth): cancel state.
|
||||||
|
|
||||||
|
// TODO(joostjager): Add failure reasons for:
|
||||||
|
// UnknownPaymentHash, FinalInvalidAmt, FinalInvalidCltv
|
||||||
|
// LocalLiquidityInsufficient, RemoteCapacityInsufficient.
|
||||||
)
|
)
|
||||||
|
|
||||||
// String returns a human readable FailureReason
|
// String returns a human readable FailureReason
|
||||||
|
Loading…
Reference in New Issue
Block a user