From 941af5dffa7021e84f5227740604dcf5c9e715cf Mon Sep 17 00:00:00 2001 From: brewmaster012 <88689859+brewmaster012@users.noreply.github.com> Date: Thu, 14 Sep 2023 10:26:39 -0500 Subject: [PATCH] Update x/observer/keeper/msg_server_add_block_header.go Co-authored-by: Lucas Bertrand --- x/observer/keeper/msg_server_add_block_header.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }