From 3ab8a99969ba7d7b384390b608eb9ad6f5a43752 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 17 Jul 2024 09:05:37 +0300 Subject: ak zchain: --get-latest (removing ak-get-zlatest) --- api/routes/getZLatest/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/routes') diff --git a/api/routes/getZLatest/index.js b/api/routes/getZLatest/index.js index 9141a4e..3fdd88c 100644 --- a/api/routes/getZLatest/index.js +++ b/api/routes/getZLatest/index.js @@ -10,7 +10,7 @@ const { spawn } = require('child_process'); */ function getZLatest(req, res) { - const command = spawn("ak-get-zlatest"); + const command = spawn("ak-zchain", ["--get-latest"]); var buffer = ""; command.stdout.on("data", data => { buffer += data; -- cgit v1.2.3