diff --git a/routes/baseActionsRouter.js b/routes/baseActionsRouter.js index f6d71f4..38f9969 100755 --- a/routes/baseActionsRouter.js +++ b/routes/baseActionsRouter.js @@ -311,13 +311,13 @@ router.get("/address/:address", function(req, res) { console.log("address is:" + address); - console.log('/usr/local/bin/vivo-cli -conf=/etc/masternodes/vivo_n1.conf getaddressbalance \'{\"addresses\": [\"" + address + "\"]}\''); + console.log("/usr/local/bin/vivo-cli -conf=/etc/masternodes/vivo_n1.conf getaddressbalance \'{\"addresses\": [\"" + address + "\"]}\'"); res.locals.result = {}; const { exec } = require('child_process'); - var yourscript = exec('/usr/local/bin/vivo-cli -conf=/etc/masternodes/vivo_n1.conf getaddressbalance \'{\"addresses\": [\"" + address + "\"]}\'', + var yourscript = exec('/usr/local/bin/vivo-cli -conf=/etc/masternodes/vivo_n1.conf getaddressbalance \'{\"addresses\": [\"' + address + '"]}\'', //var yourscript = exec('whoami', (error, stdout, stderr) => { console.log(stdout);