Skip to content
This repository was archived by the owner on Feb 3, 2025. It is now read-only.

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
elnosh committed Feb 17, 2024
1 parent 31b88eb commit 018ce0d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion mutiny-core/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ use lightning::ln::peer_handler::PeerHandleError;
use lightning_invoice::ParseOrSemanticError;
use lightning_rapid_gossip_sync::GraphSyncError;
use lightning_transaction_sync::TxSyncError;
//use moksha_wallet::error::MokshaWalletError;
use nostr::nips::nip05;
use std::string::FromUtf8Error;
use thiserror::Error;
Expand Down
2 changes: 1 addition & 1 deletion mutiny-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2386,7 +2386,7 @@ impl<S: MutinyStorage> MutinyWallet<S> {

if melt_quote_res.amount + melt_quote_res.fee_reserve > total_proofs_amount {
// if invoice created was too big, lower amount
invoice_amount = invoice_amount * (1.0 - 1.0 / 100.0)
invoice_amount *= 1.0 - 1.0 / 100.0;
} else {
break;
}
Expand Down

0 comments on commit 018ce0d

Please sign in to comment.