Skip to content

Commit 9ed2e06

Browse files
fixup! Un-cfg-gate StaticInvoices
Signed-off-by: Vincenzo Palazzo <[email protected]>
1 parent b909174 commit 9ed2e06

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: lightning/src/offers/invoice_request.rs

+5
Original file line numberDiff line numberDiff line change
@@ -874,6 +874,11 @@ impl InvoiceRequest {
874874
InvoiceWithExplicitSigningPubkeyBuilder
875875
);
876876
invoice_request_verify_method!(self, &Self);
877+
878+
#[allow(unused)] // TODO: remove this once we remove the `async_payments` cfg flag
879+
pub(super) fn bytes(&self) -> &Vec<u8> {
880+
&self.bytes
881+
}
877882
}
878883

879884
impl InvoiceRequest {

0 commit comments

Comments
 (0)