aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-miner-script
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ak-miner-script')
-rwxr-xr-xbin/ak-miner-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ak-miner-script b/bin/ak-miner-script
index 9843ac6..bf0eef7 100755
--- a/bin/ak-miner-script
+++ b/bin/ak-miner-script
@@ -20,7 +20,7 @@ gather_zblocks(){
proofofwork(){
TEST="$(gather_zblocks)"
MINER="$(ak-gpg --get-key-self-as-ipfs)"
- PRE="$(ak-find-latest-mined-sblock | jq -r '.latest_block' | tr -d $'\n')"
+ PRE="$(ak schain --get-latest | jq -r '.latest_block' | tr -d $'\n')"
i=1
l=1; while [ $l = 1 ]
do