Skip to content

Commit

Permalink
f - require payer metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jkczyz committed Dec 5, 2022
1 parent 8143d98 commit 8f3026a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lightning/src/offers/merkle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,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(payer_keys.public_key())
.metadata(vec![0; 8])
.request_invoice(vec![0; 8], payer_keys.public_key())
.build_unchecked()
.sign(|digest| secp_ctx.sign_schnorr_no_aux_rand(digest, &payer_keys))
.unwrap();
Expand Down

0 comments on commit 8f3026a

Please sign in to comment.