From 17659ce1983f39720de51b5fb898af515f701206 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 12 Mar 2024 07:37:29 +0200 Subject: Caching enabled results and a fix --- api/routes/getSLatest/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/routes/getSLatest') diff --git a/api/routes/getSLatest/index.js b/api/routes/getSLatest/index.js index 995fe69..5a31ae7 100644 --- a/api/routes/getSLatest/index.js +++ b/api/routes/getSLatest/index.js @@ -8,7 +8,7 @@ const HomeDir = os.userInfo().homedir; * sorry I was laughing at the term.. superchain */ module.exports = (req, res) => { - const command = spawn("ak-find-latest-mined-sblock"); + const command = spawn("ak-schain-latest-cached"); response_string = ""; command.stdout.on("data", data => { response_string = response_string + data; -- cgit v1.2.3