Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless0x committed Feb 4, 2025
1 parent 5342adb commit 106e1a9
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/executor/executorManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -687,8 +687,13 @@ export class ExecutorManager {
reason: string
): Promise<void> {
// Setup vars
const { bundle, executor, transactionRequest } = txInfo
const oldTxHash = txInfo.transactionHash
const {
bundle,
executor,
transactionRequest,
transactionHash: oldTxHash
} = txInfo
const { userOps } = bundle

const gasPriceParameters = await this.gasPriceManager
.tryGetNetworkGasPrice()
Expand All @@ -697,8 +702,6 @@ export class ExecutorManager {
})

if (!gasPriceParameters) {
const { bundle } = txInfo
const { userOps } = bundle
const rejectedUserOps = userOps.map((userOpInfo) => ({
...userOpInfo,
reason: "Failed to get network gas price during replacement"
Expand Down

0 comments on commit 106e1a9

Please sign in to comment.