aboutsummaryrefslogtreecommitdiff
path: root/api/validators/ZchainValidator/index.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-06-30 22:39:50 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-06-30 22:39:50 +0300
commitde53c55383ed07e0b65f69d33f5284a31d791664 (patch)
treef1e426c88a5d0a48ca463eccd21c1d12524d8f3a /api/validators/ZchainValidator/index.js
parent9531bcdffff4e44e8aadb000f0b577d59a32ea3f (diff)
downloadarching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.tar.gz
arching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.tar.bz2
arching-kaos-tools-de53c55383ed07e0b65f69d33f5284a31d791664.zip
Refactoring
Diffstat (limited to 'api/validators/ZchainValidator/index.js')
-rw-r--r--api/validators/ZchainValidator/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/validators/ZchainValidator/index.js b/api/validators/ZchainValidator/index.js
index f4080d0..80939d0 100644
--- a/api/validators/ZchainValidator/index.js
+++ b/api/validators/ZchainValidator/index.js
@@ -65,7 +65,7 @@ function continuethings(exitcode,sh,res){
*
*/
module.exports = (ch, res) => {
- const command = spawn("ak-enter",["-n",ch]);
+ const command = spawn("ak",["zchain", "--crawl", "-n", ch]);
response_string = "";
command.stdout.on("data", data => {
response_string = response_string + data;