Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
boudra authored Oct 17, 2023
1 parent 9644180 commit 57e8cf5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ indexer.subscribeToContract({
await indexer.indexToBlock("latest");

// continuous indexing, watches the chain for new events until stopped
// errors will be emitted and will not stop indexing
indexer.on("error", (error) => {
console.error("whoops", error);
});
Expand Down

0 comments on commit 57e8cf5

Please sign in to comment.