From 8430ddcad46ed83a704ed91539ea6e13aa4b5142 Mon Sep 17 00:00:00 2001 From: Kristaps Kaupe Date: Thu, 9 Sep 2021 02:21:30 +0300 Subject: [PATCH] Silence "Database already exists" warning --- tests/functional/inc.setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/functional/inc.setup.sh b/tests/functional/inc.setup.sh index c885b24..ca92b6a 100644 --- a/tests/functional/inc.setup.sh +++ b/tests/functional/inc.setup.sh @@ -11,7 +11,7 @@ $bitcoind -daemon || exit 1 # Wait until bitcoind has started properly while ! $bitcoin_cli getblockchaininfo &> /dev/null; do sleep 0.1; done # Create and load wallet -$bitcoin_cli createwallet tests +$bitcoin_cli createwallet tests 2&> /dev/null $bitcoin_cli loadwallet tests # Generate some coins $bitcoin_cli generatetoaddress 1 "$($bitcoin_cli getnewaddress "" "legacy")"