aboutsummaryrefslogtreecommitdiff
path: root/lib
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 /lib
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 'lib')
-rwxr-xr-xlib/_ak_schain6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/_ak_schain b/lib/_ak_schain
index 987ee83..809a454 100755
--- a/lib/_ak_schain
+++ b/lib/_ak_schain
@@ -8,13 +8,13 @@ GENESIS="00000000000000000000000000000000000000000000000000000000000000000000000
_ak_schain_latest_cached(){
if [ ! -f $AK_WORKDIR/schain.latest ]
then
- ak-find-latest-mined-sblock > $AK_WORKDIR/schain.latest
+ _ak_schain_get_latest > $AK_WORKDIR/schain.latest
fi
cat $AK_WORKDIR/schain.latest
}
_ak_schain_tidy(){
- SLATEST=$(ak-find-latest-mined-sblock | jq -r '.latest_block')
+ SLATEST=$(_ak_schain_get_latest | jq -r '.latest_block')
if [ ! -d $AK_SCHAINSDIR ]
then
mkdir $AK_SCHAINSDIR
@@ -22,7 +22,7 @@ _ak_schain_tidy(){
}
_ak_schain_block_latest_block_hash(){
- ak-find-latest-mined-sblock | jq -r '.latest_block'
+ _ak_schain_get_latest | jq -r '.latest_block'
}
_ak_schain_crawl(){