diff --git a/lib/plugins/wallet/galoy/galoy.js b/lib/plugins/wallet/galoy/galoy.js index e27d5755..c98de2ce 100644 --- a/lib/plugins/wallet/galoy/galoy.js +++ b/lib/plugins/wallet/galoy/galoy.js @@ -237,7 +237,7 @@ function balance (account, cryptoCode, settings, operatorId) { return checkCryptoCode(cryptoCode) .then(() => getGaloyAccount(account.apiSecret, account.endpoint)) .then(galoyAccount => { - const wallet = galoyAccount.walletByid + const wallet = galoyAccount.walletById return new BN(wallet.balance || 0) }) }