]> git.bitcoin.ninja Git - rust-lightning/commit
Rename `PaymentSendFailure::AllFailedRetrySafe` `...ResendSafe`
authorMatt Corallo <git@bluematt.me>
Wed, 2 Nov 2022 23:16:25 +0000 (23:16 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 9 Nov 2022 18:44:27 +0000 (18:44 +0000)
commitc90aac26ad3edf6a3878f63b50c5e9ee425c8f56
treef82d799e9301fbf81c4631958e41f566b3f821d8
parent790d26f63f1ed6fff8742bd0df58bf010a11b567
Rename `PaymentSendFailure::AllFailedRetrySafe` `...ResendSafe`

It was pointed out that its quite confusing that
`AllFailedRetrySafe` does not allow you to call `retry_payment`,
though the documentation on it does specify this. Instead, we
simply rename it to `AllFailedResendSafe` to indicate that the
action that is safe to take is *resending*, not *retrying*.
fuzz/src/chanmon_consistency.rs
lightning-invoice/src/payment.rs
lightning/src/ln/channelmanager.rs
lightning/src/ln/functional_test_utils.rs
lightning/src/ln/functional_tests.rs