mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-09 09:04:25 +01:00
pytest: fix test_hlcs_cltv_only_difference
Broken by 909913c265, but since Travis
skips this test ("temporarily", according to the commit msg in January!)
it wasn't caught.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
1ca0eef744
commit
a3b646be31
@@ -1380,6 +1380,10 @@ def test_htlcs_cltv_only_difference(node_factory, bitcoind):
|
||||
assert only_one(l2.rpc.listpeers(l3.info['id'])['peers'])['connected']
|
||||
assert only_one(l3.rpc.listpeers(l4.info['id'])['peers'])['connected']
|
||||
|
||||
# TODO Remove our reliance on HTLCs failing on startup and the need for
|
||||
# this plugin
|
||||
l4.daemon.opts['plugin'] = 'tests/plugins/fail_htlcs.py'
|
||||
|
||||
# Restarting tail node will stop it ignoring HTLCs (it will actually
|
||||
# fail them immediately).
|
||||
l4.restart()
|
||||
|
||||
Reference in New Issue
Block a user