channeldb: add todo for more detailed failure reasons
This commit is contained in:
1 file changed
+4
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user