aboutsummaryrefslogtreecommitdiff
path: root/api/routes/getZblock
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-04-05 14:23:22 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-04-05 14:23:22 +0300
commit0fd522a6e324de08a99bdd42ead193acff6f3d15 (patch)
tree7f25b03bb1ed8aaaf73689a59fee42196381ea2d /api/routes/getZblock
parent946d002543083d9561bb1e7f851b8179099ad077 (diff)
downloadarching-kaos-tools-0fd522a6e324de08a99bdd42ead193acff6f3d15.tar.gz
arching-kaos-tools-0fd522a6e324de08a99bdd42ead193acff6f3d15.tar.bz2
arching-kaos-tools-0fd522a6e324de08a99bdd42ead193acff6f3d15.zip
various fixes, surely still broken in places
Diffstat (limited to 'api/routes/getZblock')
-rw-r--r--api/routes/getZblock/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/routes/getZblock/index.js b/api/routes/getZblock/index.js
index a9ec02c..723df48 100644
--- a/api/routes/getZblock/index.js
+++ b/api/routes/getZblock/index.js
@@ -13,7 +13,7 @@ const config = require("../../config");
function fetchZblock(zblock, res){
regex= /Qm[A-Za-z0-9]{44}/;
if (regex.test(zblock)){
- const command = spawn("ak-zblock-cache",[zblock]);
+ const command = spawn("ak-zblock",["--cache",zblock]);
command.stdout.on("data", data => {
});