Skip to content

Commit

Permalink
fix: type error (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
SgtPooki authored May 16, 2024
1 parent be86ac7 commit e6b976a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/utils/src/abstract-session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export abstract class AbstractSession<Provider, RetrieveBlockProgressEvents exte
// this queue manages outgoing requests - as new peers are added to the
// session they will be added to the queue so we can request the current
// block from multiple peers as they are discovered
const queue = new Queue<Uint8Array, { provider: Provider, priority?: number }>({
const queue = new Queue<Uint8Array, { provider: Provider, priority?: number } & AbortOptions>({
concurrency: this.maxProviders
})
queue.addEventListener('error', () => {})
Expand Down

0 comments on commit e6b976a

Please sign in to comment.