aboutsummaryrefslogtreecommitdiff
path: root/bin/ak-miner-script
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-07-17 09:25:24 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-07-17 09:25:24 +0300
commitcdf6fdb9d0d864e38ff31a3b06402e5c7dd1090d (patch)
treea3aa446634644cade45fb2052c2298b1663108c4 /bin/ak-miner-script
parent7b3a9fbef2c28a6ea7c2b5a49f8a130f4d1bf05f (diff)
downloadarching-kaos-tools-cdf6fdb9d0d864e38ff31a3b06402e5c7dd1090d.tar.gz
arching-kaos-tools-cdf6fdb9d0d864e38ff31a3b06402e5c7dd1090d.tar.bz2
arching-kaos-tools-cdf6fdb9d0d864e38ff31a3b06402e5c7dd1090d.zip
removing ak-find-latest-mined-sblock
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