Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanchriswhite committed Nov 25, 2024
1 parent 2bd63a6 commit 1edb9b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/proof/keeper/msg_update_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ func (k msgServer) UpdateParams(ctx context.Context, req *types.MsgUpdateParams)
}

if err := k.SetParams(ctx, req.Params); err != nil {
fmt.Errorf("unable to set params: %w", err)
logger.Error(err.Error)
err = fmt.Errorf("unable to set params: %w", err)
logger.Error(err.Error())
return nil, status.Error(codes.Internal, err.Error())
}

Expand Down

0 comments on commit 1edb9b6

Please sign in to comment.