qa: set load_on_startup for bitcoind internal wallet

This commit is contained in:
Antoine Poinsot 2023-08-09 12:13:30 +02:00
parent 39d576fe83
commit df396cccc8
No known key found for this signature in database
GPG Key ID: E13FC145CD3F4304

View File

@ -102,7 +102,9 @@ def bitcoind(directory):
bitcoind = Bitcoind(bitcoin_dir=os.path.join(directory, "bitcoind"))
bitcoind.startup()
bitcoind.rpc.createwallet(bitcoind.rpc.wallet_name, False, False, "", False, True)
bitcoind.rpc.createwallet(
bitcoind.rpc.wallet_name, False, False, "", False, True, True
)
bitcoind.rpc.generatetoaddress(101, bitcoind.rpc.getnewaddress())
while bitcoind.rpc.getbalance() < 50: