diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ak-sblock-show | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ak-sblock-show b/bin/ak-sblock-show index 836e60a..b4001df 100755 --- a/bin/ak-sblock-show +++ b/bin/ak-sblock-show @@ -1,9 +1,9 @@ #!/bin/bash PROGRAM="show_sblock" -MINED_BLOCKS_DIR="/home/kaotisk/.arching-kaos/mined_blocks" + if [ ! -z $1 ] then - cat $MINED_BLOCKS_DIR/$1 | jq + cat $AK_MINEDBLOCKSDIR/$1 | jq else echo "No sblock hash input" fi |