]> git.bitcoin.ninja Git - rust-lightning/commit
Don't use UserAbandoned reason for auto-failing
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 24 Jul 2024 22:05:42 +0000 (17:05 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 14 Aug 2024 15:42:18 +0000 (10:42 -0500)
commitfbaf093ff4d24ef7474c7e99d55b74f3f51abc21
tree8b2e77f26ed29a26800b67b1ee3b19abb73fa2e1
parent144d4882adf910d3daeab3ddba0b4e8793d7c25a
Don't use UserAbandoned reason for auto-failing

A BOLT12 payment may be abandoned when handling the invoice or when
receiving an InvoiceError message. When abandoning the payment, don't
use UserAbandoned as the reason since that is meant for when the user
calls ChannelManager::abandon_payment.
lightning/src/events/mod.rs
lightning/src/ln/channelmanager.rs