aboutsummaryrefslogtreecommitdiff
path: root/test/functional/interface_rest.py
diff options
context:
space:
mode:
authorkouloumos <kouloumosa@gmail.com>2023-01-13 11:28:39 +0200
committerkouloumos <kouloumosa@gmail.com>2023-01-16 19:01:09 +0200
commit0377d6bb420b9a2fb79af0ebe088d2b20ec808a5 (patch)
tree3da27d52b59568b8c3c8b0bc182f46a319bdf0eb /test/functional/interface_rest.py
parent599e941c194749dab35d81a4e898fd79dd2ed129 (diff)
downloadbitcoin-0377d6bb420b9a2fb79af0ebe088d2b20ec808a5.tar.xz
test: add `rescan_utxos` in MiniWallet's initialization
this simplifies usage when MiniWallet is used with a pre-mined chain.
Diffstat (limited to 'test/functional/interface_rest.py')
-rwxr-xr-xtest/functional/interface_rest.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/functional/interface_rest.py b/test/functional/interface_rest.py
index db2ff19b44..0dddc8946a 100755
--- a/test/functional/interface_rest.py
+++ b/test/functional/interface_rest.py
@@ -96,7 +96,6 @@ class RESTTest (BitcoinTestFramework):
def run_test(self):
self.url = urllib.parse.urlparse(self.nodes[0].url)
self.wallet = MiniWallet(self.nodes[0])
- self.wallet.rescan_utxos()
self.log.info("Broadcast test transaction and sync nodes")
txid, _ = self.wallet.send_to(from_node=self.nodes[0], scriptPubKey=getnewdestination()[1], amount=int(0.1 * COIN))