We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2435bc2 commit eb1908bCopy full SHA for eb1908b
1 file changed
packages/block-brokers/src/trustless-gateway/trustless-gateway.ts
@@ -213,7 +213,7 @@ HTTP/1.1 %d %s
213
} catch (cause: any) {
214
// @ts-expect-error - TS thinks signal?.aborted can only be false now
215
// because it was checked for true above.
216
- if (signal?.aborted === true) {
+ if (options.signal?.aborted === true) {
217
throw new Error(`Fetching raw block for CID ${cid} from gateway ${this.url} was aborted`)
218
}
219
this.#errors++
0 commit comments