]> git.bitcoin.ninja Git - rust-lightning/commit
Disallow offer_metadata in Refund
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 19 Jan 2023 00:58:20 +0000 (18:58 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Mon, 30 Jan 2023 21:44:39 +0000 (15:44 -0600)
commit2d44dbe0134ae09ea6937ab865fbe55f8be2a543
treeedf30ba197f8caab750f98e08c9789e797c3d67b
parent6236e0d4722cdc9ccf3617f9c2ce73782213c08c
Disallow offer_metadata in Refund

The offer_metadata was optional but is redundant with invreq_metadata
(i.e., payer_metadata) for refunds. It is now disallowed in the spec and
was already unsupported by RefundBuilder.
lightning/src/offers/parse.rs
lightning/src/offers/refund.rs