Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/entropy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@

use std::fmt;

use bip39::{rand::rngs::OsRng, Language, Mnemonic};
use bip39::rand::rngs::OsRng;
use bip39::{Language, Mnemonic};

use crate::config::WALLET_KEYS_SEED_LEN;
use crate::io;
Expand Down
4 changes: 1 addition & 3 deletions src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1225,16 +1225,14 @@ where
);
log_info!(
self.logger,
"Successfully sent payment of {}msat{} from \
payment hash {:?} with preimage {:?}",
"Successfully sent payment of {}msat{} with payment hash {}",
amount_msat,
if let Some(fee) = fee_paid_msat {
format!(" (fee {} msat)", fee)
} else {
"".to_string()
},
hex_utils::to_string(&payment_hash.0),
hex_utils::to_string(&payment_preimage.0)
);
});
let event = Event::PaymentSuccessful {
Expand Down
Loading