Fix generating keys

This commit is contained in:
benthecarman
2023-06-09 05:10:50 -05:00
parent e01f6941e4
commit 52c8ba8bd5

View File

@@ -34,7 +34,7 @@ if [[ "$MINERENABLED" == "1" && ("$SIGNETCHALLENGE" == "" || "$PRIVKEY" == "") ]
#wait a bit for startup
sleep 5s
#create wallet
$BITCOINCLI createwallet "temp"
$BITCOINCLI -named createwallet wallet_name="tmp" descriptors=false
#export future signet seeding key data
ADDR=$($BITCOINCLI getnewaddress)
PRIVKEY=$($BITCOINCLI dumpprivkey $ADDR)