Skip to content

Commit

Permalink
Remove unneeded clone
Browse files Browse the repository at this point in the history
  • Loading branch information
benthecarman committed Jan 14, 2024
1 parent 4735a44 commit d187868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waila/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ impl PaymentParams<'_> {
PaymentParams::Bolt12(_) => None,
PaymentParams::Bolt12Refund(_) => None,
PaymentParams::NodePubkey(_) => None,
PaymentParams::LnUrl(l) => l.lightning_address().clone(),
PaymentParams::LnUrl(l) => l.lightning_address(),
PaymentParams::LightningAddress(ln_addr) => Some(ln_addr.clone()),
PaymentParams::Nostr(_) => None,
PaymentParams::FedimintInvite(_) => None,
Expand Down

0 comments on commit d187868

Please sign in to comment.