Skip to content

Commit

Permalink
Merge pull request #88 from Cerebellum-Network/chore/enable-decoding-…
Browse files Browse the repository at this point in the history
…errors

Return back events decoding errors
  • Loading branch information
khssnv committed May 8, 2024
2 parents 262e8fd + 9655ca6 commit 7250c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockchain/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ func (c *Client) StartEventsListening(
events := &pallets.Events{}
err = types.EventRecordsRaw(change.StorageData).DecodeEventRecords(meta, events)
if err != nil {
// c.errsListening <- fmt.Errorf("events decoder: %w", err) // TODO
c.errsListening <- fmt.Errorf("events decoder: %w", err)
continue
}

Expand Down

0 comments on commit 7250c1a

Please sign in to comment.