fix: typo
This commit is contained in:
parent
b76f9fa44c
commit
c0cd06993d
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ function balance (account, cryptoCode, settings, operatorId) {
|
||||||
return checkCryptoCode(cryptoCode)
|
return checkCryptoCode(cryptoCode)
|
||||||
.then(() => getGaloyAccount(account.apiSecret, account.endpoint))
|
.then(() => getGaloyAccount(account.apiSecret, account.endpoint))
|
||||||
.then(galoyAccount => {
|
.then(galoyAccount => {
|
||||||
const wallet = galoyAccount.walletByid
|
const wallet = galoyAccount.walletById
|
||||||
return new BN(wallet.balance || 0)
|
return new BN(wallet.balance || 0)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue