From 0f73568c1fd4b00a6ebf464c0f75a6b10bd4deed Mon Sep 17 00:00:00 2001 From: siiky Date: Wed, 13 Sep 2023 14:34:12 +0100 Subject: [PATCH] fix: get the keys, not the values --- lib/plugins/wallet/bitgo/bitgo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/wallet/bitgo/bitgo.js b/lib/plugins/wallet/bitgo/bitgo.js index 74adabef..749ee030 100644 --- a/lib/plugins/wallet/bitgo/bitgo.js +++ b/lib/plugins/wallet/bitgo/bitgo.js @@ -19,7 +19,7 @@ const BITGO_MODULES = { LTC: require('@bitgo/sdk-coin-ltc'), ZEC: require('@bitgo/sdk-coin-zec'), } -const SUPPORTED_COINS = _.values(BITGO_MODULES) +const SUPPORTED_COINS = _.keys(BITGO_MODULES) const BCH_CODES = ['BCH', 'TBCH'] const getWallet = (account, cryptoCode) => {