mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 09:34:24 +01:00
test_lightning.py: fix running test_withdraw twice.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
41a5d19198
commit
31153e9506
@@ -2066,7 +2066,8 @@ class LightningDTests(BaseLightningDTests):
|
||||
|
||||
def test_withdraw(self):
|
||||
amount = 1000000
|
||||
l1 = self.node_factory.get_node()
|
||||
# Don't get any funds from previous runs.
|
||||
l1 = self.node_factory.get_node(random_hsm=True)
|
||||
l2 = self.node_factory.get_node(random_hsm=True)
|
||||
addr = l1.rpc.newaddr()['address']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user