Skip to content

Commit

Permalink
send notification as go routine
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardmack committed Aug 9, 2021
1 parent 9be6179 commit a22fca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/state/block.go
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@ func (bs *BlockState) HandleRuntimeChanges(newState *rtstorage.TrieState, rt run
if err != nil {
return fmt.Errorf("failed to retrieve runtime version: %w", err)
}
bs.notifyRuntimeUpdated(newVersion)
go bs.notifyRuntimeUpdated(newVersion)
return nil
}

Expand Down

0 comments on commit a22fca9

Please sign in to comment.