Pārlūkot izejas kodu

05/25/2021 03:21:44 PM MST

master
coldstar pirms 3 gadiem
vecāks
revīzija
135b645ad2
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +2
    -1
      routes/baseActionsRouter.js

+ 2
- 1
routes/baseActionsRouter.js Parādīt failu

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


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);
console.log(stderr);


Notiek ielāde…
Atcelt
Saglabāt