Skip to content

Commit 1d55984

Browse files
Update static inv server OM TLVs to not conflict
Previously one of the static invoice server onion message TLV types conflicted with a DNS resolver onion message type, causing test failures on cargo test --cfg=async_payments.
1 parent a9fed13 commit 1d55984

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lightning/src/onion_message/async_payments.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ use crate::prelude::*;
1919
use crate::util::ser::{Readable, ReadableArgs, Writeable, Writer};
2020

2121
// TLV record types for the `onionmsg_tlv` TLV stream as defined in BOLT 4.
22-
const OFFER_PATHS_REQ_TLV_TYPE: u64 = 65538;
23-
const OFFER_PATHS_TLV_TYPE: u64 = 65540;
24-
const SERVE_INVOICE_TLV_TYPE: u64 = 65542;
25-
const INVOICE_PERSISTED_TLV_TYPE: u64 = 65544;
22+
const OFFER_PATHS_REQ_TLV_TYPE: u64 = 65540;
23+
const OFFER_PATHS_TLV_TYPE: u64 = 65542;
24+
const SERVE_INVOICE_TLV_TYPE: u64 = 65544;
25+
const INVOICE_PERSISTED_TLV_TYPE: u64 = 65546;
2626
const HELD_HTLC_AVAILABLE_TLV_TYPE: u64 = 72;
2727
const RELEASE_HELD_HTLC_TLV_TYPE: u64 = 74;
2828

0 commit comments

Comments
 (0)