You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 24, 2022. It is now read-only.
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...`;
}
The text was updated successfully, but these errors were encountered:
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:
The text was updated successfully, but these errors were encountered: