test: Fix pep8 of touched file

Can be reviewed with --word-diff-regex=. --ignore-all-space
pull/826/head
MarcoFalke 3 years ago
parent fa0ac9d7e3
commit fafe4dea16
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -10,9 +10,11 @@ from decimal import Decimal
import shutil
import os
def descriptors(out):
return sorted(u['desc'] for u in out['unspents'])
class ScantxoutsetTest(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 1
@ -52,7 +54,6 @@ class ScantxoutsetTest(BitcoinTestFramework):
self.nodes[0].sendtoaddress("mxp7w7j8S1Aq6L8StS2PqVvtt4HGxXEvdy", 8.192) # (m/1/1/1)
self.nodes[0].sendtoaddress("mpQ8rokAhp1TAtJQR6F6TaUmjAWkAWYYBq", 16.384) # (m/1/1/1500)
self.generate(self.nodes[0], 1)
self.log.info("Stop node, remove wallet, mine again some blocks...")
@ -127,5 +128,6 @@ class ScantxoutsetTest(BitcoinTestFramework):
# Check that second arg is needed for start
assert_raises_rpc_error(-1, "scanobjects argument is required for the start action", self.nodes[0].scantxoutset, "start")
if __name__ == '__main__':
if __name__ == "__main__":
ScantxoutsetTest().main()

Loading…
Cancel
Save