Skip to content

Commit f2734c2

Browse files
author
MarcoFalke
committed
Merge #10107: Remove unused variable. Remove accidental trailing semicolons in Python code
85de9d4 Remove call to gettransaction(...) where the result is unused (practicalswift) bd02422 Remove accidental trailing semicolons in Python code (practicalswift) Tree-SHA512: 23ffb1ccc29bf73b334d62b274ab614cb40e2969147adccacbaecc69a410a661a9f2dd9e9cbc8a70bd2c7f345095efc68743f288eb866315e0e8731441ba01d0
2 parents 9692be4 + 85de9d4 commit f2734c2

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

contrib/zmq/zmq_sub3.4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def handle(self) :
5757
msg = yield from self.zmqSubSocket.recv_multipart()
5858
topic = msg[0]
5959
body = msg[1]
60-
sequence = "Unknown";
60+
sequence = "Unknown"
6161
if len(msg[-1]) == 4:
6262
msgSequence = struct.unpack('<I', msg[-1])[-1]
6363
sequence = str(msgSequence)

test/functional/bumpfee.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,6 @@ def test_dust_to_fee(rbf_node, dest_address):
196196
def test_settxfee(rbf_node, dest_address):
197197
# check that bumpfee reacts correctly to the use of settxfee (paytxfee)
198198
rbfid = spend_one_input(rbf_node, dest_address)
199-
rbftx = rbf_node.gettransaction(rbfid)
200199
requested_feerate = Decimal("0.00025000")
201200
rbf_node.settxfee(requested_feerate)
202201
bumped_tx = rbf_node.bumpfee(rbfid)

test/functional/importmulti.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def run_test (self):
434434
address_assert = self.nodes[1].validateaddress(watchonly_address)
435435
assert_equal(address_assert['iswatchonly'], True)
436436
assert_equal(address_assert['ismine'], False)
437-
assert_equal(address_assert['timestamp'], watchonly_timestamp);
437+
assert_equal(address_assert['timestamp'], watchonly_timestamp)
438438

439439
# Bad or missing timestamps
440440
self.log.info("Should throw on invalid or missing timestamp values")

0 commit comments

Comments
 (0)