|
|
|
@ -106,7 +106,7 @@ SendTransactionScreen.prototype.componentWillMount = function () { |
|
|
|
|
.all([ |
|
|
|
|
getGasPrice(), |
|
|
|
|
estimateGas(estimateGasParams), |
|
|
|
|
tokenContract && tokenContract.balanceOf(from.address) |
|
|
|
|
tokenContract && tokenContract.balanceOf(from.address), |
|
|
|
|
]) |
|
|
|
|
.then(([gasPrice, gas, usersToken]) => { |
|
|
|
|
|
|
|
|
@ -352,7 +352,7 @@ SendTransactionScreen.prototype.validateAmount = function (value) { |
|
|
|
|
let amountError = null |
|
|
|
|
|
|
|
|
|
const sufficientBalance = isBalanceSufficient({ |
|
|
|
|
amount: selectedToken ? '0x0' : amount, |
|
|
|
|
amount: selectedToken ? '0x0' : amount, |
|
|
|
|
gasTotal, |
|
|
|
|
balance, |
|
|
|
|
primaryCurrency, |
|
|
|
|