From c0cd06993ddf806965af1efbb22f6824e219ba05 Mon Sep 17 00:00:00 2001 From: Rafael Taranto Date: Thu, 28 Dec 2023 23:35:05 +0000 Subject: [PATCH] fix: typo --- lib/plugins/wallet/galoy/galoy.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }) }