1
0

test_lnpeer: add some multi-hop payment unit tests

This commit is contained in:
SomberNight
2020-05-06 11:00:58 +02:00
parent 7153e753d1
commit cc4029c335
3 changed files with 186 additions and 3 deletions

View File

@@ -494,6 +494,7 @@ class LNWallet(LNWorker):
# used in tests
self.enable_htlc_settle = asyncio.Event()
self.enable_htlc_settle.set()
self._fail_htlcs_with_temp_node_failure = False
# note: accessing channels (besides simple lookup) needs self.lock!
self._channels = {} # type: Dict[bytes, Channel]