We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69a96c6 commit d549db6Copy full SHA for d549db6
1 file changed
packages/indexer-common/src/indexing-fees/dips.ts
@@ -578,8 +578,14 @@ export class DipsManager {
578
const logger = this.logger.child({ function: 'collectAgreementPayments' })
579
const indexerAddress = this.network.specification.indexerOptions.address
580
581
+ if (!this.network.indexingPaymentsSubgraph) {
582
+ logger.warn(
583
+ 'Indexing payments subgraph not configured, skipping agreement collection',
584
+ )
585
+ return
586
+ }
587
const agreements = await fetchCollectableAgreements(
- this.network.networkSubgraph,
588
+ this.network.indexingPaymentsSubgraph,
589
indexerAddress,
590
)
591
0 commit comments