Bitcoin ABC 0.20.9 getbalance compatibility change
This commit is contained in:
parent
8e7b59bddc
commit
1d02521334
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ function checkCryptoCode (cryptoCode) {
|
|||
|
||||
function accountBalance (account, cryptoCode, confirmations) {
|
||||
return checkCryptoCode(cryptoCode)
|
||||
.then(() => fetch('getbalance', ['', confirmations]))
|
||||
.then(() => fetch('getbalance', ['*', confirmations]))
|
||||
.then(r => BN(r).shift(unitScale).round())
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue