Open daywalker90 opened 3 months ago
also:
waitsendpay a6ac55c126b415f9236526fbb6e8c847db5dc1da94db148f85db512ca3dc0c82 10 1 2
{
"code": 209,
"message": "Payment failure reason unknown"
}
From the docs: 209: The payment already failed, but the reason for failure was not stored. This should only occur when querying failed payments on very old databases.
The payment was tried just now, so it's not old.
This is not the case in all sendpay_failure
notifications but it still causes cln-plugin
to panic alot when theres a plugin subscribing to this notification.
cln v24.05: apparently some fields are missing from
sendpay_failure
notifications:missing:
erring_node
erring_channel
erring_direction
Also notice how
status
ispending
instead offailed
as promised by the docs:https://docs.corelightning.org/docs/event-notifications#sendpay_failure
This makes the notification far less useful and also causes a panic in
cln-plugin
because it expects these fields.