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)
if start:
try:
# Capture stderr if we're failing
if expect_fail:
stderr = subprocess.PIPE
else:
stderr = None
node.start(wait_for_bitcoind_sync, stderr=stderr)
node.start(wait_for_bitcoind_sync)
except Exception:
if expect_fail:
return node