aboutsummaryrefslogtreecommitdiff
path: root/api/tests
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 /api/tests
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 'api/tests')
-rwxr-xr-xapi/tests/latest_known_mined_block.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/tests/latest_known_mined_block.sh b/api/tests/latest_known_mined_block.sh
index c4e40bb..64ff612 100755
--- a/api/tests/latest_known_mined_block.sh
+++ b/api/tests/latest_known_mined_block.sh
@@ -5,7 +5,7 @@ printf '[%s]\n' "$PROGRAM"
printf "TEST\t/slatest\n"
printf "\t01:\tendpoint"
A="$(curl http://127.0.0.1:8610/v0/slatest 2>/dev/null)"
-B="$(ak-find-latest-mined-sblock)"
+B="$(ak schain --get-latest)"
if [ "$A" == "$B" ]
then
printf '\t\t\033[0;32mPASSED\033[0;0m'