Explorar el Código

05/25/2021 11:42:03 AM MST

master
coldstar hace 3 años
padre
commit
f372cb0674
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      app/rpcApi.js

+ 2
- 0
app/rpcApi.js Ver fichero

@@ -429,6 +429,8 @@ function getBlockData(rpcClient, blockHash, txLimit, txOffset) {
function getBalanceFromAddress(rpcClient, address) {
console.log("getBalanceFromAddress: " + address);

console.log("getaddressbalance\'{\"addresses\": [\"" + address + "\"]}\'");

return new Promise(function(resolve, reject) {
client.cmd("getaddressbalance", "\'{\"addresses\": [\"" + address + "\"]}\'", function(err2, result2, resHeaders2) {
if (err2) {


Cargando…
Cancelar
Guardar