|
|
@@ -438,19 +438,17 @@ function getBalanceFromAddress(rpcClient, address) { |
|
|
|
console.log(err); |
|
|
|
console.log(resHeaders); |
|
|
|
|
|
|
|
res.send(JSON.stringify(result, null, 4)); |
|
|
|
|
|
|
|
/* |
|
|
|
if (err) { |
|
|
|
console.log("Error : " + err); |
|
|
|
|
|
|
|
reject(err); |
|
|
|
if (err) { |
|
|
|
console.log("Error : " + err); |
|
|
|
|
|
|
|
reject(err); |
|
|
|
|
|
|
|
return; |
|
|
|
} |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
resolve(result); |
|
|
|
*/ |
|
|
|
resolve(result); |
|
|
|
|
|
|
|
}); |
|
|
|
}); |
|
|
|