浏览代码

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

master
coldstar 3 年前
父节点
当前提交
f372cb0674
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. +2
    -0
      app/rpcApi.js

+ 2
- 0
app/rpcApi.js 查看文件

@@ -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) {


正在加载...
取消
保存