Revert: Create descriptors wallets on 24.0

This commit is contained in:
nicolas.dorier 2022-12-01 21:42:12 +09:00
parent 9905554613
commit c23a68d65f
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -27,7 +27,7 @@ if [[ "$1" == "bitcoin-cli" || "$1" == "bitcoin-tx" || "$1" == "bitcoind" || "$1
CONFIG_PREFIX="${CONFIG_PREFIX}${NL}walletdir=${WALLETDIR}${NL}"
if ! [[ -f "${WALLETFILE}" ]]; then
echo "The wallet does not exists, creating it at ${WALLETDIR}..."
gosu bitcoin bitcoin-wallet "-datadir=${WALLETDIR}" "-wallet=" create
gosu bitcoin bitcoin-wallet "-datadir=${WALLETDIR}" "-legacy" "-wallet=" create
fi
fi