diff --git a/js/src/modals/Transfer/store.js b/js/src/modals/Transfer/store.js index a0f99503c..737bab778 100644 --- a/js/src/modals/Transfer/store.js +++ b/js/src/modals/Transfer/store.js @@ -421,7 +421,6 @@ export default class TransferStore { const tokenBalance = this.getTokenBalance(); const { eth, token } = this.getValues(gasTotal); - let totalEth = gasTotal; let totalError = null; let valueError = null; @@ -445,7 +444,7 @@ export default class TransferStore { this.totalError = totalError; this.valueError = valueError; this.gasStore.setErrorTotal(totalError); - this.gasStore.setEthValue(totalEth); + this.gasStore.setEthValue(eth.sub(gasTotal)); this.total = this.api.util.fromWei(eth).toFixed();