|
|
@@ -327,13 +327,16 @@ router.get("/address/:address", function(req, res) { |
|
|
|
console.log(obj.balance); |
|
|
|
console.log(obj.received); |
|
|
|
|
|
|
|
res.locals.address = obj.address; |
|
|
|
res.locals.balance = obj.balance; |
|
|
|
res.locals.received = obj.received; |
|
|
|
|
|
|
|
console.log(stderr); |
|
|
|
if (error !== null) { |
|
|
|
console.log(`exec error: ${error}`); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
const { spawn } = require("child_process"); |
|
|
|
|
|
|
@@ -361,7 +364,7 @@ router.get("/address/:address", function(req, res) { |
|
|
|
}); |
|
|
|
*/ |
|
|
|
|
|
|
|
//res.render("address"); |
|
|
|
res.render("address"); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|