aboutsummaryrefslogtreecommitdiff
path: root/api/routes
diff options
context:
space:
mode:
Diffstat (limited to 'api/routes')
-rw-r--r--api/routes/getZLatest/index.js2
1 files changed, 1 insertions, 1 deletions
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;