fix: remove unused crypto unit fields

This commit is contained in:
Sérgio Salgado 2022-07-27 19:36:59 +01:00
parent 3b01820242
commit 65b8491354
4 changed files with 38 additions and 11 deletions

View file

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