fix: fudge factor being ignored

This commit is contained in:
André Sá 2021-10-27 18:03:29 +01:00
parent 2e1564c23c
commit 63a5e83390
2 changed files with 3 additions and 1 deletions

View file

@ -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)