From 1a037aa7cc25c3d033e20c28ef1c213f1ca83edc Mon Sep 17 00:00:00 2001 From: Joseph Pentland Date: Sun, 10 Jul 2016 17:30:09 +0200 Subject: [PATCH] test/regnet.py: Remove call to non-existent bitcoin rpc stop() method In stop method of class BitcoinNode there is a line "proxy.stop()" which fails when executed since the class bitcoin.rpc.Proxy has no stop() method. It seems the rpc connection is closed on object deletion and therefore this call isn't needed. --- test/regnet.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test/regnet.py b/test/regnet.py index 511bfe9..d4b8be7 100644 --- a/test/regnet.py +++ b/test/regnet.py @@ -99,7 +99,6 @@ def stop(self, hard=False, cleanup=False): except ProcessLookupError: pass else: - self.proxy.stop() self.process.wait() if cleanup: self.cleanup()