diff options
Diffstat (limited to 'api/routes/getZLatest/index.js')
-rw-r--r-- | api/routes/getZLatest/index.js | 2 |
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; |