Open mrbitcoiner opened 2 years ago
Does the node appear to be connected when it has this issue? I think you can check this in listpeers
, it'll say connected: true/false
.
Currently experiencing the same issue, connected: true
but cannot pay. I think it has something to do with the new abort early method of pay
introduced here
EDIT: In my case this has something to do with IMMORTAN, as it uses random public keys for privacy reasons.
CLN cancels the payment as it does not know the pubkey, even though the payment would succeed if it attempted it
Confirm this. CLN-SBW Testnet channel.
Invoice
lntb5u1pjqr60hpp5yz62r7wdrmdra0es98e3rje0prftcxqds2smxtl3c2fepmf5h5hsdqqsp5dh709xylr6y62znrqg3vd472sftes43aekjczfg5fgs8hd3f9qtsxqy9gcqcqzys9qyysgqrzjqtherxcq5nsna3p7qrmhp2ghyz953zg53xgak29wywdrd28fletycf8hg5qqqycqqqqqqqqpqqqqqzsqqchk33fsrz9yern50yyl3pkxute575zx0peldls8x5qmyy0hwmd4vqpzuy58yag29ulpv0eg030kutw3sx3zqxn3cs2e947n7arkm53dgq4tsnzy
leads to
{
"code": 210,
"message": "Destination 034cbe14a6e68da5551ee2a8d95d6b5e0af5a40ea3b1cc890c732339b8bbf3deb0 is not reachable directly and all routehints were unusable.",
"attempts": [
{
"status": "failed",
"failreason": "Destination 034cbe14a6e68da5551ee2a8d95d6b5e0af5a40ea3b1cc890c732339b8bbf3deb0 is not reachable directly and all routehints were unusable.",
"partid": 0,
"amount": "500000msat",
"amount_msat": "500000msat"
}
]
}
Node A (CLN v0.12.0-26-g7df530d) has a private channel (Liquidity 50% inbound/outbound) with the node B (Simple Bitcoin Wallet) that has only this private channel.
Paying from node A to node B fails, as following:
Decoding the bolt11 we can see that the payment has the right route hint
paystatus:
Now the puzzling thing: I can pay this invoice from other lightning implementations, in this case I will use LNTXBOT that uses Immortan.
With coinos (LND) and Wallet Of Satoshi (IDK) I can pay these invoices successfully too. With other CLN nodes I still get the same fail as related above. Tested with other node running CLN version 0.11.2 too.
The payment fails almost instantly after the lightning-cli pay command.
OBS: I can pay from Node B to Node A. Only CLN nodes can't pay to the private channel.