From 6ccd65d179c7552f898b3781ef4f4f7f8ae690ef Mon Sep 17 00:00:00 2001 From: randymcmillan Date: Mon, 17 Jun 2024 16:00:21 -0400 Subject: [PATCH] bitcoin-signet/blocknotify:default ADDRESS or $1 --- bitcoin-signet/blocknotify | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitcoin-signet/blocknotify b/bitcoin-signet/blocknotify index efa4bbf96..197f1dc23 100755 --- a/bitcoin-signet/blocknotify +++ b/bitcoin-signet/blocknotify @@ -1,6 +1,8 @@ #!/bin/bash #This file is executed when a new block is recieved #It can be used to automate things in the container +ADDRESS=${1:-tb1p2l76fzwaaatk7w567kpkftt5qg9lmvn3uv65c5can63a0z2jqmkqvzlhw7} +echo $ADDRESS PLAY_BITCOIN_ID=$(play-bitcoin id); export PLAY_BITCOIN_ID while [ ! -z "$PLAY_BITCOIN_ID" ]; do