diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-09-17 15:38:38 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-09-20 08:31:04 +0200 |
commit | fa7e3f1fc114056967963a4ad4863a56e406c57e (patch) | |
tree | 521abe1118ad3a0e2d7dea65265406c017c57d0d /test/functional/test_framework | |
parent | 226731ac1144886d693d3508b331f98727ab883c (diff) |
test: Replace MiniWallet scan_blocks with rescan_utxos
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r-- | test/functional/test_framework/wallet.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/test/functional/test_framework/wallet.py b/test/functional/test_framework/wallet.py index 08086bc0b9..2d7f061912 100644 --- a/test/functional/test_framework/wallet.py +++ b/test/functional/test_framework/wallet.py @@ -87,13 +87,6 @@ class MiniWallet: for utxo in res['unspents']: self._utxos.append({'txid': utxo['txid'], 'vout': utxo['vout'], 'value': utxo['amount']}) - def scan_blocks(self, *, start=1, num): - """Scan the blocks for self._address outputs and add them to self._utxos""" - for i in range(start, start + num): - block = self._test_node.getblock(blockhash=self._test_node.getblockhash(i), verbosity=2) - for tx in block['tx']: - self.scan_tx(tx) - def scan_tx(self, tx): """Scan the tx for self._scriptPubKey outputs and add them to self._utxos""" for out in tx['vout']: |