Skip to content

Commit 9c39410

Browse files
ddustinrustyrussell
authored andcommitted
dev: startup_regtest using wrong null dir
Swiching to /dev/null instead of typo’d /tmp/null Changelog-None
1 parent 4e7ba96 commit 9c39410

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/startup_regtest.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ start_ln() {
247247
"$BITCOIND" -datadir="$BITCOIN_DIR" -regtest -txindex -fallbackfee=0.00000253 -daemon
248248

249249
# Wait for it to start.
250-
while ! "$BCLI" -datadir="$BITCOIN_DIR" -regtest ping 2> /tmp/null; do echo "awaiting bitcoind..." && sleep 1; done
250+
while ! "$BCLI" -datadir="$BITCOIN_DIR" -regtest ping 2> /dev/null; do echo "awaiting bitcoind..." && sleep 1; done
251251

252252
# Check if default wallet exists
253253
if ! "$BCLI" -datadir="$BITCOIN_DIR" -regtest listwalletdir | jq -r '.wallets[] | .name' | grep -wqe 'default' ; then
@@ -445,7 +445,7 @@ start_elem() {
445445
elementsd -chain=liquid-regtest -printtoconsole -logtimestamps -nolisten -validatepegin=0 -con_blocksubsidy=5000000000 -daemon
446446

447447
# Wait for it to start.
448-
while ! elements-cli -chain=liquid-regtest ping 2> /tmp/null; do echo "awaiting elementsd..." && sleep 1; done
448+
while ! elements-cli -chain=liquid-regtest ping 2> /dev/null; do echo "awaiting elementsd..." && sleep 1; done
449449

450450
# Kick it out of initialblockdownload if necessary
451451
if elements-cli -chain=liquid-regtest getblockchaininfo | grep -q 'initialblockdownload.*true'; then

0 commit comments

Comments
 (0)