From 15d50a26d836a7b1f9be72fd07698024ec1e0ebf 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