Ver código fonte

05/25/2021 11:47:15 AM MST

master
coldstar 3 anos atrás
pai
commit
ae28efa102
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      app/rpcApi.js

+ 2
- 2
app/rpcApi.js Ver arquivo

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

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

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



Carregando…
Cancelar
Salvar