Skip to content

Commit

Permalink
sim-lib: Fixes clippy issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sr-gi committed Oct 18, 2023
1 parent 796c19e commit 72ea38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim-lib/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ impl Display for Payment {
write!(
f,
"Payment {} dispatched at {:?} sending {} msat from {} -> {}",
self.hash.map(|h| hex::encode(h.0)).unwrap_or(String::new()),
self.hash.map(|h| hex::encode(h.0)).unwrap_or_default(),
self.dispatch_time.duration_since(UNIX_EPOCH).unwrap(),
self.amount_msat,
self.source,
Expand Down

0 comments on commit 72ea38e

Please sign in to comment.