Skip to content

Commit 3027a7b

Browse files
committed
docker: Don't manually wait for the bitcoind cookie file
It appears like bitcoin-cli is smart enough to do this on its own (I believe this didn't use to be the case with some prior versions?)
1 parent 4a97b4a commit 3027a7b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

bin/docker-entrypoint.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,6 @@ else
4646
RPC_OPT="-datadir=/data/bitcoin"
4747

4848
bitcoind $NETWORK_ARG $RPC_OPT $BITCOIND_OPT &
49-
echo -n "waiting for cookie... "
50-
sed --quiet '/^\.cookie$/ q' <(inotifywait -e create,moved_to --format '%f' -qmr /data/bitcoin)
5149
fi
5250

5351
echo -n "waiting for RPC... "

0 commit comments

Comments
 (0)