Skip to content

Commit

Permalink
Minor docs update to sdk.Int (cosmos#9126)
Browse files Browse the repository at this point in the history
Co-authored-by: Federico Kunze <[email protected]>
  • Loading branch information
ValarDragon and fedekunze authored Apr 16, 2021
1 parent 89cb9b0 commit 82dc008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/int.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 82dc008

Please sign in to comment.