1
0

fix test_lnchannel (follow-up ea584e13fc)

This commit is contained in:
ThomasV
2024-11-25 12:03:34 +01:00
parent cdc746713e
commit 19e993f39b

View File

@@ -57,7 +57,7 @@ def create_channel_state(funding_txid, funding_index, funding_sat, is_initiator,
channel_id, _ = lnpeer.channel_id_from_funding_tx(funding_txid, funding_index)
channel_type = lnutil.ChannelType.OPTION_STATIC_REMOTEKEY
if anchor_outputs:
channel_type |= lnutil.ChannelType.OPTION_ANCHOR_OUTPUTS
channel_type |= lnutil.ChannelType.OPTION_ANCHORS_ZERO_FEE_HTLC_TX
state = {
"channel_id":channel_id.hex(),
"short_channel_id":channel_id[:8],