Skip to content

Commit

Permalink
Skip undecodable events
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Mar 14, 2024
1 parent c10cdf4 commit d77d31a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions blockchain/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ func (c *Client) StartEventsListening() (func(), <-chan error, error) {
err = types.EventRecordsRaw(change.StorageData).DecodeEventRecords(meta, events)
if err != nil {
c.errsListening <- fmt.Errorf("events decoder: %w", err)
continue
}

for _, callback := range c.eventsListeners {
Expand Down

0 comments on commit d77d31a

Please sign in to comment.