This repository was archived by the owner on May 24, 2022. It is now read-only.

Description
In this latest PR #414, the user can click through to the Send Ether page, enter a recipient and amount of say 0.01, but then if some but not all of the necessary values are available then if you click to expand Transaction Details it shows:
Gas Limit: -1
Fee: -0.000000004 ETH
Total Amount: 0.009999996 ETH
Then soon after it may display the popup "Unable to estimate gas..."
And is likely because values.ethBalance is undefined.
So I think we need to change it to the following in fether-react/src/Send/TxForm/TxDetails/TxDetails.js:
if (
!estimatedTxFee ||
!values.amount ||
!values.chainId ||
!values.ethBalance ||
!values.gas ||
!values.gasPrice ||
!values.transactionCount ||
!token.address
) {
// Keep line break so message is centered
return `
Missing input fields...`;
}