From 43c46ceb2dc5b80f9c9aec289fb11db9e8ab0fe3 Mon Sep 17 00:00:00 2001 From: Alexey Zagarin Date: Sat, 13 Mar 2021 10:05:40 +0700 Subject: [PATCH] Fix wallet creation in contrib/startup_regtest.sh --- contrib/startup_regtest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/startup_regtest.sh b/contrib/startup_regtest.sh index 94df2ccb3..eb4f2e982 100755 --- a/contrib/startup_regtest.sh +++ b/contrib/startup_regtest.sh @@ -117,7 +117,7 @@ start_ln() { # Kick it out of initialblockdownload if necessary if bitcoin-cli -regtest getblockchaininfo | grep -q 'initialblockdownload.*true'; then # Modern bitcoind needs createwallet - bt-cli createwallet default >/dev/null 2>&1 + bitcoin-cli -regtest createwallet default >/dev/null 2>&1 bitcoin-cli -regtest generatetoaddress 1 "$(bitcoin-cli -regtest getnewaddress)" > /dev/null fi alias bt-cli='bitcoin-cli -regtest'