From bd024223320707af676019d874b61307656f7dc1 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Tue, 28 Mar 2017 15:19:19 +0200 Subject: [PATCH 1/2] Remove accidental trailing semicolons in Python code --- contrib/zmq/zmq_sub3.4.py | 2 +- test/functional/importmulti.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/zmq/zmq_sub3.4.py b/contrib/zmq/zmq_sub3.4.py index a2ff64b29..1cb7eec0c 100755 --- a/contrib/zmq/zmq_sub3.4.py +++ b/contrib/zmq/zmq_sub3.4.py @@ -57,7 +57,7 @@ class ZMQHandler(): msg = yield from self.zmqSubSocket.recv_multipart() topic = msg[0] body = msg[1] - sequence = "Unknown"; + sequence = "Unknown" if len(msg[-1]) == 4: msgSequence = struct.unpack(' Date: Tue, 28 Mar 2017 15:19:52 +0200 Subject: [PATCH 2/2] Remove call to gettransaction(...) where the result is unused --- test/functional/bumpfee.py | 1 - 1 file changed, 1 deletion(-) diff --git a/test/functional/bumpfee.py b/test/functional/bumpfee.py index 172e41418..c51a75cc2 100755 --- a/test/functional/bumpfee.py +++ b/test/functional/bumpfee.py @@ -196,7 +196,6 @@ def test_dust_to_fee(rbf_node, dest_address): def test_settxfee(rbf_node, dest_address): # check that bumpfee reacts correctly to the use of settxfee (paytxfee) rbfid = spend_one_input(rbf_node, dest_address) - rbftx = rbf_node.gettransaction(rbfid) requested_feerate = Decimal("0.00025000") rbf_node.settxfee(requested_feerate) bumped_tx = rbf_node.bumpfee(rbfid)