]> git.bitcoin.ninja Git - rust-lightning/commit
rename pay_parameters for no amount invoice
authorVincenzo Palazzo <vincenzopalazzodev@gmail.com>
Tue, 5 Nov 2024 11:45:01 +0000 (12:45 +0100)
committerVincenzo Palazzo <vincenzopalazzodev@gmail.com>
Wed, 6 Nov 2024 10:08:25 +0000 (11:08 +0100)
commitc2c670b2b5d38e0c425507bd5614676ed0781b45
tree676311960ef3586c7c409f1caad45dd0c2ecf5ce
parent76a93a334bacbcfa5f37818b751dff79e760159f
rename pay_parameters for no amount invoice

This commit renames the function `pay_parameters_for_zero_amount_invoice`
to `pay_parameters_for_variable_amount_invoice`.

The term "variable amount" is used to align with
the naming convention in the LDK node, helping to avoid
confusion between similar packages.

Fixes: https://github.com/lightningdevkit/rust-lightning/issues/2879
Replaces: https://github.com/lightningdevkit/rust-lightning/pull/2979
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
lightning/src/ln/bolt11_payment.rs