Skip to content

Commit

Permalink
fix(lib/grandpa): fix grandpa vote message switch (#2095)
Browse files Browse the repository at this point in the history
  • Loading branch information
noot committed Dec 2, 2021
1 parent 9b85d9d commit 461890c
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 461890c

Please sign in to comment.