Skip to content

Commit

Permalink
fix grandpa vote message switch
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Dec 1, 2021
1 parent 8c58282 commit c095056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grandpa/vote_message.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func (s *Service) receiveMessages(ctx context.Context) {
vm := msg.msg

switch vm.Message.Stage {
case prevote:
case prevote, primaryProposal:
err := telemetry.GetInstance().SendMessage(
telemetry.NewAfgReceivedPrevoteTM(
vm.Message.Hash,
Expand Down

0 comments on commit c095056

Please sign in to comment.