Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mouseless0x committed Jan 23, 2025
1 parent f06036b commit 733feb2
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/rpc/nonceQueuer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,11 @@ export class NonceQueuer {
return
}

this.queuedUserOperations = this.queuedUserOperations.filter(
(qop) =>
!availableOps.find(
(op) => op.userOperationHash === qop.userOperationHash
)
)
this.queuedUserOperations = this.queuedUserOperations.filter((qop) => {
return !availableOps.some((op) => {
return op.userOperationHash === qop.userOperationHash
})
})

availableOps.map((op) => {
this.resubmitUserOperation(op.mempoolUserOperation, op.entryPoint)
Expand Down

0 comments on commit 733feb2

Please sign in to comment.