From 54701b7a543535c1260448520d539ead920b9a21 Mon Sep 17 00:00:00 2001 From: Marko Date: Wed, 11 Oct 2023 11:22:45 +0200 Subject: [PATCH] chore: fix comments (#18043) --- math/int.go | 2 +- x/gov/abci.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/math/int.go b/math/int.go index 8cb20c5c5c..8685cf5a3f 100644 --- a/math/int.go +++ b/math/int.go @@ -71,7 +71,7 @@ func unmarshalText(i *big.Int, text string) error { var _ customProtobufType = (*Int)(nil) -// Int wraps big.Int with a 257 bit range bound +// Int wraps big.Int with a 256 bit range bound // Checks overflow, underflow and division by zero // Exists in range from -(2^256 - 1) to 2^256 - 1 type Int struct { diff --git a/x/gov/abci.go b/x/gov/abci.go index f43370348f..c678a2e80a 100644 --- a/x/gov/abci.go +++ b/x/gov/abci.go @@ -16,7 +16,7 @@ import ( v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1" ) -// EndBlocker called every block, process inflation, update validator set. +// EndBlocker is called every block. func EndBlocker(ctx sdk.Context, keeper *keeper.Keeper) error { defer telemetry.ModuleMeasureSince(types.ModuleName, time.Now(), telemetry.MetricKeyEndBlocker)