diff --git a/x/observer/keeper/msg_server_add_block_header.go b/x/observer/keeper/msg_server_add_block_header.go index 5b6ba25bdd..7ba8a67f21 100644 --- a/x/observer/keeper/msg_server_add_block_header.go +++ b/x/observer/keeper/msg_server_add_block_header.go @@ -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 }