From 82dc0081fdc06fa6cf8bd6a0d87987d27ac7b1ca Mon Sep 17 00:00:00 2001 From: Dev Ojha Date: Fri, 16 Apr 2021 03:43:49 -0500 Subject: [PATCH] Minor docs update to sdk.Int (#9126) Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> --- types/int.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/int.go b/types/int.go index e8fada2e78..1a013bc054 100644 --- a/types/int.go +++ b/types/int.go @@ -69,9 +69,9 @@ func unmarshalText(i *big.Int, text string) error { var _ CustomProtobufType = (*Int)(nil) -// Int wraps integer with 256 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^maxBitLen-1) to 2^maxBitLen-1 +// Exists in range from -(2^255 - 1) to 2^255 - 1 type Int struct { i *big.Int }