Skip to content

Commit

Permalink
add return from error
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmack committed Apr 21, 2021
1 parent 4de9a74 commit a2068a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dot/state/storage_notify.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func (s *StorageState) RegisterStorageObserver(o Observer) {
sr, err := s.blockState.BestBlockStateRoot()
if err != nil {
logger.Debug("error registering storage change channel", "error", err)
return
}
go func() {
if err := s.notifyObserver(sr, o); err != nil {
Expand Down

0 comments on commit a2068a3

Please sign in to comment.