1
0

enable anchor outputs via config option

This commit is contained in:
ThomasV
2022-09-24 15:19:31 +02:00
parent a3dc2b847e
commit ece1fb39d2
4 changed files with 6 additions and 0 deletions

View File

@@ -177,6 +177,7 @@ class MockLNWallet(Logger, EventListener, NetworkRetryManager[LNPeerAddr]):
self.features |= LnFeatures.OPTION_CHANNEL_TYPE_OPT
self.features |= LnFeatures.OPTION_SCID_ALIAS_OPT
self.features |= LnFeatures.OPTION_STATIC_REMOTEKEY_OPT
self.config.ENABLE_ANCHOR_CHANNELS = TEST_ANCHOR_CHANNELS
self.pending_payments = defaultdict(asyncio.Future)
for chan in chans:
chan.lnworker = self