aboutsummaryrefslogtreecommitdiff
path: root/test/functional/test_framework/wallet.py
diff options
context:
space:
mode:
authorFabian Jahr <fjahr@protonmail.com>2021-02-23 00:16:50 +0100
committerFabian Jahr <fjahr@protonmail.com>2021-03-23 20:32:50 +0100
commit4973c5175c5fd1f4791ea26e8ddefd6fb11ac1c3 (patch)
treebd6f5e2251c46d7f4d3c0194b7e0f7c8cafeda07 /test/functional/test_framework/wallet.py
parent1a27af1d7b5ec18b4248ead1eaf0f381047b4b24 (diff)
downloadbitcoin-4973c5175c5fd1f4791ea26e8ddefd6fb11ac1c3.tar.xz
test: Remove wallet dependency of utxo set hash test
Diffstat (limited to 'test/functional/test_framework/wallet.py')
-rw-r--r--test/functional/test_framework/wallet.py3
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)