mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-20 22:54:19 +01:00
backup: NF wrapper was missing a keyword arg
This commit is contained in:
@@ -41,12 +41,7 @@ class NodeFactoryWrapper(NodeFactory):
|
|||||||
self.nodes.append(node)
|
self.nodes.append(node)
|
||||||
if start:
|
if start:
|
||||||
try:
|
try:
|
||||||
# Capture stderr if we're failing
|
node.start(wait_for_bitcoind_sync)
|
||||||
if expect_fail:
|
|
||||||
stderr = subprocess.PIPE
|
|
||||||
else:
|
|
||||||
stderr = None
|
|
||||||
node.start(wait_for_bitcoind_sync, stderr=stderr)
|
|
||||||
except Exception:
|
except Exception:
|
||||||
if expect_fail:
|
if expect_fail:
|
||||||
return node
|
return node
|
||||||
|
|||||||
Reference in New Issue
Block a user