backup: NF wrapper was missing a keyword arg

This commit is contained in:
Christian Decker
2020-04-30 17:52:16 +02:00
parent 279a4e821f
commit 41e440522e

View File

@@ -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