Merge pull request #1320 from chaotixkilla/fix-remove-coin-specific-unit-fields

Remove coin-specific cryptounits from config
This commit is contained in:
Rafael Taranto 2022-08-01 09:55:06 +01:00 committed by GitHub
commit 1d0f3cd27c
4 changed files with 37 additions and 13 deletions

View file

@ -151,9 +151,7 @@ const getCryptosFromWalletNamespace = config => {
const getCashInSettings = config => fromNamespace(namespaces.CASH_IN)(config)
const getCryptoUnits = (crypto, config) => {
return getWalletSettings(crypto, config).cryptoUnits
}
const getCryptoUnits = (crypto, config) => getWalletSettings(crypto, config).cryptoUnits
const setTermsConditions = toNamespace(namespaces.TERMS_CONDITIONS)