@@ -63,7 +63,7 @@ import {
63
63
getHumanReadableEstimationError
64
64
} from '../../libs/errorHumanizer'
65
65
import { insufficientPaymasterFunds } from '../../libs/errorHumanizer/errors'
66
- import { getEstimation , getEstimationSummary } from '../../libs/estimate/estimate'
66
+ import { getEstimation } from '../../libs/estimate/estimate'
67
67
import { GasRecommendation , getGasPriceRecommendations } from '../../libs/gasPrice/gasPrice'
68
68
import { humanizeAccountOp } from '../../libs/humanizer'
69
69
import { KeyIterator } from '../../libs/keyIterator/keyIterator'
@@ -767,8 +767,7 @@ export class MainController extends EventEmitter {
767
767
const accountOpsForSimulation = getAccountOpsForSimulation (
768
768
account ,
769
769
this . actions . visibleActionsQueue ,
770
- network ,
771
- accountOp
770
+ network
772
771
)
773
772
// update the portfolio only if new tokens were found through tracing
774
773
if ( learnedNewTokens || learnedNewNfts ) {
@@ -1187,8 +1186,7 @@ export class MainController extends EventEmitter {
1187
1186
const accountOpsToBeSimulatedByNetwork = getAccountOpsForSimulation (
1188
1187
this . selectedAccount . account ,
1189
1188
this . actions . visibleActionsQueue ,
1190
- networkData ,
1191
- this . signAccountOp ?. accountOp
1189
+ networkData
1192
1190
)
1193
1191
1194
1192
await this . portfolio . updateSelectedAccount (
@@ -2316,8 +2314,7 @@ export class MainController extends EventEmitter {
2316
2314
const accOpsForSimulation = getAccountOpsForSimulation (
2317
2315
this . accounts . accounts . find ( ( acc ) => acc . addr === op . accountAddr ) ! ,
2318
2316
this . actions . visibleActionsQueue ,
2319
- network ,
2320
- op
2317
+ network
2321
2318
)
2322
2319
return this . portfolio . updateSelectedAccount (
2323
2320
op . accountAddr ,
0 commit comments