Skip to content

Commit c8e5f12

Browse files
committed
f Use 'msat', not 'msats'
1 parent 3ba9277 commit c8e5f12

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/event.rs

+5-5
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ where
297297
} => {
298298
log_info!(
299299
self.logger,
300-
"Received payment from payment hash {} of {} msats",
300+
"Received payment from payment hash {} of {}msat",
301301
hex_utils::to_string(&payment_hash.0),
302302
amount_msat,
303303
);
@@ -336,7 +336,7 @@ where
336336
} => {
337337
log_info!(
338338
self.logger,
339-
"Claimed payment from payment hash {} of {} msats.",
339+
"Claimed payment from payment hash {} of {}msat.",
340340
hex_utils::to_string(&payment_hash.0),
341341
amount_msat,
342342
);
@@ -379,7 +379,7 @@ where
379379
.expect("Failed to access payment store");
380380
log_info!(
381381
self.logger,
382-
"Successfully sent payment of {} msats{} from \
382+
"Successfully sent payment of {}msat{} from \
383383
payment hash {:?} with preimage {:?}",
384384
payment_info.amount_msat.unwrap(),
385385
if let Some(fee) = fee_paid_msat {
@@ -490,15 +490,15 @@ where
490490
if claim_from_onchain_tx {
491491
log_info!(
492492
self.logger,
493-
"Forwarded payment{}{}, earning {} msats in fees from claiming onchain.",
493+
"Forwarded payment{}{}, earning {}msat in fees from claiming onchain.",
494494
from_prev_str,
495495
to_next_str,
496496
fee_earned,
497497
);
498498
} else {
499499
log_info!(
500500
self.logger,
501-
"Forwarded payment{}{}, earning {} msats in fees.",
501+
"Forwarded payment{}{}, earning {}msat in fees.",
502502
from_prev_str,
503503
to_next_str,
504504
fee_earned,

0 commit comments

Comments
 (0)