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 Nov 29, 2022
1 parent 5e040f2 commit a2632bd
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 @@ -229,8 +229,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 a2632bd

Please sign in to comment.