diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2021-02-23 00:16:50 +0100 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2021-03-23 20:32:50 +0100 |
commit | 4973c5175c5fd1f4791ea26e8ddefd6fb11ac1c3 (patch) | |
tree | bd6f5e2251c46d7f4d3c0194b7e0f7c8cafeda07 /test/functional/test_framework | |
parent | 1a27af1d7b5ec18b4248ead1eaf0f381047b4b24 (diff) | |
download | bitcoin-4973c5175c5fd1f4791ea26e8ddefd6fb11ac1c3.tar.xz |
test: Remove wallet dependency of utxo set hash test
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r-- | test/functional/test_framework/wallet.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/test_framework/wallet.py b/test/functional/test_framework/wallet.py index 38fbf3c1a6..a906a21dd0 100644 --- a/test/functional/test_framework/wallet.py +++ b/test/functional/test_framework/wallet.py @@ -49,6 +49,9 @@ class MiniWallet: self._utxos.append({'txid': cb_tx['txid'], 'vout': 0, 'value': cb_tx['vout'][0]['value']}) return blocks + def get_address(self): + return self._address + def get_utxo(self, *, txid=''): """ Returns a utxo and marks it as spent (pops it from the internal list) |