Browse Source

05/25/2021 12:51:32 PM MST

master
coldstar 3 years ago
parent
commit
bb2178c347
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/rpcApi.js

+ 1
- 1
app/rpcApi.js View File

@@ -432,7 +432,7 @@ function getBalanceFromAddress(rpcClient, address) {
console.log("getaddressbalance \'{\"addresses\": [\"" + address + "\"]}\'"); console.log("getaddressbalance \'{\"addresses\": [\"" + address + "\"]}\'");


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




Loading…
Cancel
Save