mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-25 18:21:12 +02:00
lnrpc: payment failure reason canceled
This commit is contained in:
@@ -1022,10 +1022,11 @@
|
||||
"FAILURE_REASON_NO_ROUTE",
|
||||
"FAILURE_REASON_ERROR",
|
||||
"FAILURE_REASON_INCORRECT_PAYMENT_DETAILS",
|
||||
"FAILURE_REASON_INSUFFICIENT_BALANCE"
|
||||
"FAILURE_REASON_INSUFFICIENT_BALANCE",
|
||||
"FAILURE_REASON_CANCELED"
|
||||
],
|
||||
"default": "FAILURE_REASON_NONE",
|
||||
"description": " - FAILURE_REASON_NONE: Payment isn't failed (yet).\n - FAILURE_REASON_TIMEOUT: There are more routes to try, but the payment timeout was exceeded.\n - FAILURE_REASON_NO_ROUTE: All possible routes were tried and failed permanently. Or were no\nroutes to the destination at all.\n - FAILURE_REASON_ERROR: A non-recoverable error has occured.\n - FAILURE_REASON_INCORRECT_PAYMENT_DETAILS: Payment details incorrect (unknown hash, invalid amt or\ninvalid final cltv delta)\n - FAILURE_REASON_INSUFFICIENT_BALANCE: Insufficient local balance."
|
||||
"description": " - FAILURE_REASON_NONE: Payment isn't failed (yet).\n - FAILURE_REASON_TIMEOUT: There are more routes to try, but the payment timeout was exceeded.\n - FAILURE_REASON_NO_ROUTE: All possible routes were tried and failed permanently. Or were no\nroutes to the destination at all.\n - FAILURE_REASON_ERROR: A non-recoverable error has occured.\n - FAILURE_REASON_INCORRECT_PAYMENT_DETAILS: Payment details incorrect (unknown hash, invalid amt or\ninvalid final cltv delta)\n - FAILURE_REASON_INSUFFICIENT_BALANCE: Insufficient local balance.\n - FAILURE_REASON_CANCELED: The payment was canceled."
|
||||
},
|
||||
"lnrpcPaymentPaymentStatus": {
|
||||
"type": "string",
|
||||
|
Reference in New Issue
Block a user