mirror of
https://github.com/lightningdevkit/rust-lightning.git
synced 2025-02-24 23:08:36 +01:00
Remove unused mut from OfferBuilder::amount_msats
Seen when removing `#[allow(unused)]` from `offers` module.
This commit is contained in:
parent
4b8b17d72f
commit
3e17e7f9bb
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ impl OfferBuilder {
|
|||
/// Sets the [`Offer::amount`] as an [`Amount::Bitcoin`].
|
||||
///
|
||||
/// Successive calls to this method will override the previous setting.
|
||||
pub fn amount_msats(mut self, amount_msats: u64) -> Self {
|
||||
pub fn amount_msats(self, amount_msats: u64) -> Self {
|
||||
self.amount(Amount::Bitcoin { amount_msats })
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue