From 6e9feb6be4f7dffa7037397cb36fb85d3d3a0340 Mon Sep 17 00:00:00 2001 From: Taranto Date: Wed, 6 May 2020 22:21:39 +0100 Subject: [PATCH] fix: rename fudge factor and change value --- lib/wallet.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wallet.js b/lib/wallet.js index 49124ef9..10f334d8 100644 --- a/lib/wallet.js +++ b/lib/wallet.js @@ -122,8 +122,8 @@ function mergeStatusMode (a, b) { } function getWalletStatus (settings, tx) { - const fudgeFactorEnabled = configManager.unscoped(settings.config).fudgeFactor - const fudgeFactor = fudgeFactorEnabled ? 10 : 0 + const fudgeFactorEnabled = configManager.unscoped(settings.config).fudgeFactorActive + const fudgeFactor = fudgeFactorEnabled ? 100 : 0 const walletStatusPromise = fetchWallet(settings, tx.cryptoCode) .then(r => r.wallet.getStatus(r.account, tx.toAddress, tx.cryptoAtoms.minus(fudgeFactor), tx.cryptoCode))