Browse Source

05/25/2021 02:40:32 PM MST

master
coldstar 3 years ago
parent
commit
ef3286033a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      routes/baseActionsRouter.js

+ 2
- 0
routes/baseActionsRouter.js View File

@@ -314,6 +314,8 @@ router.get("/address/:address", function(req, res) {


const ls = spawn("/usr/local/bin/vivo-cli -conf=/etc/masternodes/vivo_n1.conf", [" \'{\"addresses\": [\"" + address + "\"]}\'"]); const ls = spawn("/usr/local/bin/vivo-cli -conf=/etc/masternodes/vivo_n1.conf", [" \'{\"addresses\": [\"" + address + "\"]}\'"]);


const ls = spawn("pwd");

ls.stdout.on("data", data => { ls.stdout.on("data", data => {
console.log(`stdout: ${data}`); console.log(`stdout: ${data}`);
}); });


Loading…
Cancel
Save