Skip to content

Commit

Permalink
f - check for unknown required features in request_invoice
Browse files Browse the repository at this point in the history
  • Loading branch information
jkczyz committed Dec 8, 2022
1 parent fcb32c9 commit 06bf0f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/offers/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ mod tests {
let invoice_request = OfferBuilder::new("A Mathematical Treatise".into(), recipient_pubkey)
.amount(Amount::Currency { iso4217_code: *b"USD", amount: 100 })
.build_unchecked()
.request_invoice(vec![0; 8], payer_keys.public_key())
.request_invoice(vec![0; 8], payer_keys.public_key()).unwrap()
.build_unchecked()
.sign::<_, Infallible>(|digest| Ok(secp_ctx.sign_schnorr_no_aux_rand(digest, &payer_keys)))
.unwrap();
Expand Down

0 comments on commit 06bf0f9

Please sign in to comment.