Merge pull request #906 from SiIky/fix/JyadZOrQ/fudge_factor
fix: fudge factor being ignored
This commit is contained in:
commit
2f47643c6b
2 changed files with 3 additions and 1 deletions
|
|
@ -54,6 +54,7 @@ const getGlobalLocale = it => getLocale(null, it)
|
|||
|
||||
const getWalletSettings = (key, it) => _.compose(fromNamespace(key), fromNamespace(namespaces.WALLETS))(it)
|
||||
const getCashOut = (key, it) => _.compose(fromNamespace(key), fromNamespace(namespaces.CASH_OUT))(it)
|
||||
const getGlobalCashOut = fromNamespace(namespaces.CASH_OUT)
|
||||
const getOperatorInfo = fromNamespace(namespaces.OPERATOR_INFO)
|
||||
const getCoinAtmRadar = fromNamespace(namespaces.COIN_ATM_RADAR)
|
||||
const getTermsConditions = fromNamespace(namespaces.TERMS_CONDITIONS)
|
||||
|
|
@ -118,5 +119,6 @@ module.exports = {
|
|||
getTermsConditions,
|
||||
getAllCryptoCurrencies,
|
||||
getTriggers,
|
||||
getGlobalCashOut,
|
||||
getCashOut
|
||||
}
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ function mergeStatusMode (a, b) {
|
|||
}
|
||||
|
||||
function getWalletStatus (settings, tx) {
|
||||
const fudgeFactorEnabled = configManager.getWalletSettings(tx.cryptoCode, settings.config).fudgeFactorActive
|
||||
const fudgeFactorEnabled = configManager.getGlobalCashOut(settings.config).fudgeFactorActive
|
||||
const fudgeFactor = fudgeFactorEnabled ? 100 : 0
|
||||
|
||||
const walletStatusPromise = fetchWallet(settings, tx.cryptoCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue