Bitcoin ABC 0.20.9 getbalance compatibility change

This commit is contained in:
naconner 2019-12-31 16:10:31 -05:00 committed by Josh Harvey
parent 8e7b59bddc
commit 1d02521334

View file

@ -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())
}