Skip to content

Commit

Permalink
Update x/observer/keeper/msg_server_add_block_header.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Bertrand <[email protected]>
  • Loading branch information
brewmaster012 and lumtis authored Sep 14, 2023
1 parent a107c12 commit 941af5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/observer/keeper/msg_server_add_block_header.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func (k msgServer) AddBlockHeader(goCtx context.Context, msg *types.MsgAddBlockH
if err != nil {
return nil, sdkerrors.Wrap(err, "failed to add vote to ballot")
}
ballot, isFinalized := k.CheckIfFinalizingVote(ctx, ballot)
_, isFinalized := k.CheckIfFinalizingVote(ctx, ballot)
if !isFinalized {
return &types.MsgAddBlockHeaderResponse{}, nil
}
Expand Down

0 comments on commit 941af5d

Please sign in to comment.