Skip to content

Commit 559296d

Browse files
committed
Replace parts of the QR-code scanning with bitcoin-payment-instructions from rust-bitcoin
1 parent d21085d commit 559296d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/payment/unified_qr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl UnifiedQrPayment {
118118
},
119119
};
120120

121-
let extras = Extras { bolt11_invoice, bolt12_offer: None };
121+
let extras = Extras { bolt11_invoice, bolt12_offer };
122122

123123
let mut uri = Uri::with_extras(onchain_address, extras);
124124
uri.amount = Some(Amount::from_sat(amount_sats));

0 commit comments

Comments
 (0)