the FAILURE_REASON_NO_ROUTE in allow_self_payment payment process. #1697
Replies: 1 comment
-
Thanks for the details. So the problem here is The reason for that is that node What you can do is turn on The |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
question
I attempted to use the assets to pay for an invoice that was specifically for myself,there is only one intermediate node in the routing.
During the payment process, I used "allow_self_payment" and received the error message "FAILURE_REASON_NO_ROUTE".
And not every time will it fail; occasionally it will succeed in payment.
test procedures
1.Create two nodes, A and B, and use the same rfq oracle.same buy price and sell price
2.Open two channels, an asset channel and a BTC channel,and make sure they can use it properly
3.Use A to create a BTC invoice, and use A's assets to pay for it.
4. use the "allow_self_payment" option,outgoingChanId is assetChannelId
result
1.Payment failed and received FAILURE_REASON_NO_ROUTE
2.Not every attempt will fail, but if one fails, the next attempt will also fail unless I change the price and use another invoice.
logs
1.Log of Node B
Two consecutive payment failures,But only the first one made this mistake.
2.Log of Node A
other items
The payment command uses a code.
When I used cmd to make the payment, this error rarely occurred. Maybe it has something to do with the code, but I'm unable to prove this theory.
Beta Was this translation helpful? Give feedback.
All reactions