mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Remove accidental trailing semicolons in Python code
This commit is contained in:
parent
5b029aaedb
commit
bd02422332
@ -57,7 +57,7 @@ class ZMQHandler():
|
|||||||
msg = yield from self.zmqSubSocket.recv_multipart()
|
msg = yield from self.zmqSubSocket.recv_multipart()
|
||||||
topic = msg[0]
|
topic = msg[0]
|
||||||
body = msg[1]
|
body = msg[1]
|
||||||
sequence = "Unknown";
|
sequence = "Unknown"
|
||||||
if len(msg[-1]) == 4:
|
if len(msg[-1]) == 4:
|
||||||
msgSequence = struct.unpack('<I', msg[-1])[-1]
|
msgSequence = struct.unpack('<I', msg[-1])[-1]
|
||||||
sequence = str(msgSequence)
|
sequence = str(msgSequence)
|
||||||
|
@ -434,7 +434,7 @@ class ImportMultiTest (BitcoinTestFramework):
|
|||||||
address_assert = self.nodes[1].validateaddress(watchonly_address)
|
address_assert = self.nodes[1].validateaddress(watchonly_address)
|
||||||
assert_equal(address_assert['iswatchonly'], True)
|
assert_equal(address_assert['iswatchonly'], True)
|
||||||
assert_equal(address_assert['ismine'], False)
|
assert_equal(address_assert['ismine'], False)
|
||||||
assert_equal(address_assert['timestamp'], watchonly_timestamp);
|
assert_equal(address_assert['timestamp'], watchonly_timestamp)
|
||||||
|
|
||||||
# Bad or missing timestamps
|
# Bad or missing timestamps
|
||||||
self.log.info("Should throw on invalid or missing timestamp values")
|
self.log.info("Should throw on invalid or missing timestamp values")
|
||||||
|
Loading…
Reference in New Issue
Block a user