Skip to content

Commit 94aa904

Browse files
MarcoFalkePastaPastaPasta
authored andcommitted
Merge bitcoin#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
1 parent 404e244 commit 94aa904

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/zmq/zmq_sub3.4.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def handle(self) :
6767
msg = yield from self.zmqSubSocket.recv_multipart()
6868
topic = msg[0]
6969
body = msg[1]
70-
sequence = "Unknown";
70+
sequence = "Unknown"
7171
if len(msg[-1]) == 4:
7272
msgSequence = struct.unpack('<I', msg[-1])[-1]
7373
sequence = str(msgSequence)

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)