Skip to content

Commit

Permalink
chore: cherry-pick #10965 (#10986)
Browse files Browse the repository at this point in the history
This PR cherry-picks #10965

Co-authored-by: Matthew Walsh <[email protected]>
  • Loading branch information
github-actions[bot] and matthewwalsh0 authored Sep 2, 2024
1 parent b6f682b commit cdec83b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion app/components/Views/confirmations/Send/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,6 @@ class Send extends PureComponent {
newTxMeta = {
symbol: 'ETH',
assetType: 'ETH',
type: 'ETHER_TRANSACTION',
paymentRequest: true,
selectedAsset: { symbol: 'ETH', isETH: true },
...txRecipient,
Expand Down
2 changes: 1 addition & 1 deletion app/util/custom-gas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export async function getGasLimit(transaction, resetGas = false) {
let estimation;
try {
const newTransactionObj = resetGas
? { ...transaction, gas: undefined }
? { ...transaction, gas: undefined, gasPrice: undefined }
: transaction;

estimation = await estimateGas(newTransactionObj);
Expand Down

0 comments on commit cdec83b

Please sign in to comment.