Skip to content

Commit 6ccd65d

Browse files
committed
bitcoin-signet/blocknotify:default ADDRESS or $1
1 parent 1d20a51 commit 6ccd65d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bitcoin-signet/blocknotify

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
#This file is executed when a new block is recieved
33
#It can be used to automate things in the container
4+
ADDRESS=${1:-tb1p2l76fzwaaatk7w567kpkftt5qg9lmvn3uv65c5can63a0z2jqmkqvzlhw7}
5+
echo $ADDRESS
46
PLAY_BITCOIN_ID=$(play-bitcoin id);
57
export PLAY_BITCOIN_ID
68
while [ ! -z "$PLAY_BITCOIN_ID" ]; do

0 commit comments

Comments
 (0)