chore: revert getCryptoUnits change

This commit is contained in:
Sérgio Salgado 2022-07-28 16:01:50 +01:00
parent 65b8491354
commit abacba19b9

View file

@ -151,10 +151,7 @@ const getCryptosFromWalletNamespace = config => {
const getCashInSettings = config => fromNamespace(namespaces.CASH_IN)(config) const getCashInSettings = config => fromNamespace(namespaces.CASH_IN)(config)
const getCryptoUnits = (crypto, config) => { const getCryptoUnits = (crypto, config) => getWalletSettings(crypto, config).cryptoUnits
const walletSettings = getWalletSettings(crypto, config)
return walletSettings.cryptoUnits
}
module.exports = { module.exports = {
getWalletSettings, getWalletSettings,