Skip to content

Commit 1331ff8

Browse files
kwsantiagodaywalker90
authored andcommitted
pyln: don't reap a bitcoind that was never started
1 parent 574b15d commit 1331ff8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • contrib/pyln-testing/pyln/testing

‎contrib/pyln-testing/pyln/testing/utils.py‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,11 @@ def set_port(self, rpcport):
627627
self.port_setup = True
628628

629629
def kill(self):
630+
# Never started: parametrize('bitcoind', [False], indirect=True).
631+
if self.proc is None:
632+
self.cleanup_files()
633+
return
634+
630635
try:
631636
self.stop()
632637
except Exception:

0 commit comments

Comments
 (0)