Skip to content

Commit

Permalink
Remove legacy type
Browse files Browse the repository at this point in the history
Remove gasPrice during estimate.
  • Loading branch information
matthewwalsh0 committed Aug 31, 2024
1 parent c05e7dd commit 1e130ba
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 1e130ba

Please sign in to comment.