We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent abd8d04 commit 51fc781Copy full SHA for 51fc781
lightning/src/ln/invoice_utils.rs
@@ -1257,8 +1257,7 @@ mod test {
1257
Duration::from_secs(genesis_timestamp),
1258
)
1259
.unwrap();
1260
- let (payment_hash, payment_secret) =
1261
- (invoice.payment_hash(), *invoice.payment_secret());
+ let (payment_hash, payment_secret) = (invoice.payment_hash(), *invoice.payment_secret());
1262
let payment_preimage = if user_generated_pmt_hash {
1263
user_payment_preimage
1264
} else {
0 commit comments