Skip to content

Commit

Permalink
fix: getReady dont throw when not subscribing
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Dec 31, 2023
1 parent ba1e907 commit a1fe78c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/programs/program/src/program.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,10 @@ export abstract class Program<
const subscribers =
await this.node.services.pubsub.getSubscribers(topic);
if (!subscribers) {
throw new Error(
continue;
/* throw new Error(
`Client is not subscriber to topic ${topic}, do not have any info about peer readiness`
);
); */
}
ready = intersection(ready, subscribers);
}
Expand Down

0 comments on commit a1fe78c

Please sign in to comment.