Skip to content

Commit 51fc781

Browse files
committed
Format with appropriate cargo fmt version
1 parent abd8d04 commit 51fc781

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lightning/src/ln/invoice_utils.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1257,8 +1257,7 @@ mod test {
12571257
Duration::from_secs(genesis_timestamp),
12581258
)
12591259
.unwrap();
1260-
let (payment_hash, payment_secret) =
1261-
(invoice.payment_hash(), *invoice.payment_secret());
1260+
let (payment_hash, payment_secret) = (invoice.payment_hash(), *invoice.payment_secret());
12621261
let payment_preimage = if user_generated_pmt_hash {
12631262
user_payment_preimage
12641263
} else {

0 commit comments

Comments
 (0)