aboutsummaryrefslogtreecommitdiff
path: root/lib/_ak_zblock
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_ak_zblock')
-rwxr-xr-xlib/_ak_zblock2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/_ak_zblock b/lib/_ak_zblock
index b2db633..78c1586 100755
--- a/lib/_ak_zblock
+++ b/lib/_ak_zblock
@@ -677,7 +677,7 @@ _ak_zblock_announce(){
curl \
--connect-timeout 3 \
--header 'Content-Type: application/json' \
- --data-raw '{"zblock":"'$(ak-get-zlatest)'"}' \
+ --data-raw '{"zblock":"'$(_ak_zchain_get_latest)'"}' \
"http://127.0.0.1:8610/v0/announce/zblock" \
2>/dev/null | jq -M -c > /dev/null
if [ $? -ne 0 ]