@@ -120,8 +120,7 @@ object OpenDualFundedChannelTlv {
120120 .typecase(UInt64 (0 ), upfrontShutdownScriptCodec)
121121 .typecase(UInt64 (1 ), channelTypeCodec)
122122 .typecase(UInt64 (2 ), requireConfirmedInputsCodec)
123- // We use a temporary TLV while the spec is being reviewed.
124- .typecase(UInt64 (1339 ), requestFundingCodec)
123+ .typecase(UInt64 (5 ), requestFundingCodec)
125124 .typecase(UInt64 (0x47000007 ), pushAmountCodec)
126125 )
127126}
@@ -142,8 +141,7 @@ object TxInitRbfTlv {
142141 val txInitRbfTlvCodec : Codec [TlvStream [TxInitRbfTlv ]] = tlvStream(discriminated[TxInitRbfTlv ].by(varint)
143142 .typecase(UInt64 (0 ), tlvField(satoshiSigned.as[SharedOutputContributionTlv ]))
144143 .typecase(UInt64 (2 ), requireConfirmedInputsCodec)
145- // We use a temporary TLV while the spec is being reviewed.
146- .typecase(UInt64 (1339 ), requestFundingCodec)
144+ .typecase(UInt64 (5 ), requestFundingCodec)
147145 )
148146}
149147
@@ -155,8 +153,7 @@ object TxAckRbfTlv {
155153 val txAckRbfTlvCodec : Codec [TlvStream [TxAckRbfTlv ]] = tlvStream(discriminated[TxAckRbfTlv ].by(varint)
156154 .typecase(UInt64 (0 ), tlvField(satoshiSigned.as[SharedOutputContributionTlv ]))
157155 .typecase(UInt64 (2 ), requireConfirmedInputsCodec)
158- // We use a temporary TLV while the spec is being reviewed.
159- .typecase(UInt64 (1339 ), provideFundingCodec)
156+ .typecase(UInt64 (5 ), provideFundingCodec)
160157 )
161158}
162159
@@ -166,8 +163,7 @@ object SpliceInitTlv {
166163
167164 val spliceInitTlvCodec : Codec [TlvStream [SpliceInitTlv ]] = tlvStream(discriminated[SpliceInitTlv ].by(varint)
168165 .typecase(UInt64 (2 ), requireConfirmedInputsCodec)
169- // We use a temporary TLV while the spec is being reviewed.
170- .typecase(UInt64 (1339 ), requestFundingCodec)
166+ .typecase(UInt64 (5 ), requestFundingCodec)
171167 .typecase(UInt64 (0x47000007 ), tlvField(tmillisatoshi.as[PushAmountTlv ]))
172168 )
173169}
@@ -178,8 +174,7 @@ object SpliceAckTlv {
178174
179175 val spliceAckTlvCodec : Codec [TlvStream [SpliceAckTlv ]] = tlvStream(discriminated[SpliceAckTlv ].by(varint)
180176 .typecase(UInt64 (2 ), requireConfirmedInputsCodec)
181- // We use a temporary TLV while the spec is being reviewed.
182- .typecase(UInt64 (1339 ), provideFundingCodec)
177+ .typecase(UInt64 (5 ), provideFundingCodec)
183178 .typecase(UInt64 (41042 ), feeCreditUsedCodec)
184179 .typecase(UInt64 (0x47000007 ), tlvField(tmillisatoshi.as[PushAmountTlv ]))
185180 )
@@ -197,8 +192,7 @@ object AcceptDualFundedChannelTlv {
197192 .typecase(UInt64 (0 ), upfrontShutdownScriptCodec)
198193 .typecase(UInt64 (1 ), channelTypeCodec)
199194 .typecase(UInt64 (2 ), requireConfirmedInputsCodec)
200- // We use a temporary TLV while the spec is being reviewed.
201- .typecase(UInt64 (1339 ), provideFundingCodec)
195+ .typecase(UInt64 (5 ), provideFundingCodec)
202196 .typecase(UInt64 (41042 ), feeCreditUsedCodec)
203197 .typecase(UInt64 (0x47000007 ), pushAmountCodec)
204198 )
0 commit comments