1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 09:57:02 +01:00

Fix optimism send flow (#15419)

This commit is contained in:
Dan J Miller 2022-08-02 15:54:24 -02:30 committed by GitHub
parent ce901f8edb
commit d484f107c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -518,7 +518,7 @@ export const computeEstimatedGasLimit = createAsyncThunk(
value:
send.amountMode === AMOUNT_MODES.MAX
? send.selectedAccount.balance
: send.amount.value,
: draftTransaction.amount.value,
from: send.selectedAccount.address,
data: draftTransaction.userInputHexData,
type: '0x0',