litecoind 0.17 getbalance compatibility change
This commit is contained in:
parent
def5a16ad4
commit
e795537f2b
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ function checkCryptoCode (cryptoCode) {
|
|||
|
||||
function accountBalance (acount, 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