Disable v23 descriptor wallets.

Missing sethdseed, signmessage doesn't work and dumprivkey is missing (preventing a workaround).
This commit is contained in:
tecnovert
2022-11-12 22:17:49 +02:00
parent 093a36c8d2
commit bbe7556d18
11 changed files with 55 additions and 25 deletions

View File

@@ -973,7 +973,12 @@ def initialise_wallets(particl_wallet_mnemonic, with_coins, data_dir, settings,
wallets = swap_client.callcoinrpc(c, 'listwallets')
if len(wallets) < 1:
logger.info('Creating wallet.dat for {}.'.format(getCoinName(c)))
swap_client.callcoinrpc(c, 'createwallet', ['wallet.dat'])
if c == Coins.BTC:
# wallet_name, wallet_name, blank, passphrase, avoid_reuse, descriptors
swap_client.callcoinrpc(c, 'createwallet', ['wallet.dat', False, True, '', False, False])
else:
swap_client.callcoinrpc(c, 'createwallet', ['wallet.dat'])
if 'particl' in with_coins and c == Coins.PART:
logger.info('Loading Particl mnemonic')