1
0

Merge pull request #10325 from f321x/debug_not_enough_balance

lightning: fix race when doing concurrent payments
This commit is contained in:
ghost43
2025-11-27 16:06:52 +00:00
committed by GitHub
2 changed files with 26 additions and 18 deletions

View File

@@ -218,6 +218,7 @@ class MockLNWallet(Logger, EventListener, NetworkRetryManager[LNPeerAddr]):
self._payment_bundles_pkey_to_canon = {} # type: Dict[bytes, bytes]
self._payment_bundles_canon_to_pkeylist = {} # type: Dict[bytes, Sequence[bytes]]
self.config.INITIAL_TRAMPOLINE_FEE_LEVEL = 0
self._channel_sending_capacity_lock = asyncio.Lock()
self.logger.info(f"created LNWallet[{name}] with nodeID={local_keypair.pubkey.hex()}")