mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-22 06:52:36 +01:00
test: Fix pep8 of touched file
Can be reviewed with --word-diff-regex=. --ignore-all-space
This commit is contained in:
parent
fa0ac9d7e3
commit
fafe4dea16
1 changed files with 56 additions and 54 deletions
|
@ -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…
Add table
Reference in a new issue