fix: pr fixes

This commit is contained in:
Taranto 2020-03-20 17:55:55 +00:00 committed by Josh Harvey
parent fa69d2a030
commit 1cc3c820b5
3 changed files with 6 additions and 5 deletions

View file

@ -126,7 +126,7 @@ function getWalletStatus (settings, tx) {
const fudgeFactor = fudgeFactorEnabled ? 10 : 0
const walletStatusPromise = fetchWallet(settings, tx.cryptoCode)
.then(r => r.wallet.getStatus(r.account, tx.toAddress, tx.cryptoAtoms.add(fudgeFactor), tx.cryptoCode))
.then(r => r.wallet.getStatus(r.account, tx.toAddress, tx.cryptoAtoms.minus(fudgeFactor), tx.cryptoCode))
return Promise.all([
walletStatusPromise,