aboutsummaryrefslogtreecommitdiffstats
path: root/common/math/big.go
diff options
context:
space:
mode:
Diffstat (limited to 'common/math/big.go')
-rw-r--r--common/math/big.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/math/big.go b/common/math/big.go
index 5255a88e9..fd0174b36 100644
--- a/common/math/big.go
+++ b/common/math/big.go
@@ -27,6 +27,8 @@ var (
tt256 = BigPow(2, 256)
tt256m1 = new(big.Int).Sub(tt256, big.NewInt(1))
MaxBig256 = new(big.Int).Set(tt256m1)
+ tt63 = BigPow(2, 63)
+ MaxBig63 = new(big.Int).Sub(tt63, big.NewInt(1))
)
const (