aboutsummaryrefslogtreecommitdiff
path: root/api/tests/node_local_chain.sh
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-03-02 07:24:49 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-03-02 07:24:49 +0200
commit1894d8cb5c4050de216f905f8ebbfcc1e7c8d58a (patch)
tree5c1b9b9b3c12fcf20ac763786b66ba091d66c397 /api/tests/node_local_chain.sh
parent935ee5be8b3d228a7119c77798b5d9dfe2a734fc (diff)
downloadarching-kaos-tools-1894d8cb5c4050de216f905f8ebbfcc1e7c8d58a.tar.gz
arching-kaos-tools-1894d8cb5c4050de216f905f8ebbfcc1e7c8d58a.tar.bz2
arching-kaos-tools-1894d8cb5c4050de216f905f8ebbfcc1e7c8d58a.zip
Follow up to 2e2e16e
Diffstat (limited to 'api/tests/node_local_chain.sh')
-rwxr-xr-xapi/tests/node_local_chain.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/tests/node_local_chain.sh b/api/tests/node_local_chain.sh
index 843de35..8bf8b7c 100755
--- a/api/tests/node_local_chain.sh
+++ b/api/tests/node_local_chain.sh
@@ -4,7 +4,7 @@ printf '[%s]\n' "$PROGRAM"
printf "TEST /zchain\n"
printf "\t01:\tComparing API with CLI response..."
API_RESPONSE="$(curl http://127.0.0.1:8610/v0/zchain 2>/dev/null | jq -c -M | sha512sum - | awk '{print $1 }')"
-CMD_RESPONSE="$(ak-get-chain-minified | jq -c -M | sha512sum - | awk '{ print $1 }')"
+CMD_RESPONSE="$(ak-enter | jq -c -M | sha512sum - | awk '{ print $1 }')"
if [ "$API_RESPONSE" == "$CMD_RESPONSE" ]
then
printf "\t\t\033[0;32mPASSED\033[0;0m"