aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-03-22 01:22:47 +0800
committerobscuren <geffobscura@gmail.com>2014-03-22 01:22:47 +0800
commit01c1bce9c5dfa2b2bcdf934afec3f206823f895f (patch)
tree03c6e06ced15c61e2997b3d7d42fa11b2426d7c5 /ethutil
parent9a9e252cabdc6283d7f4e523860f0e4addf62152 (diff)
downloaddexon-01c1bce9c5dfa2b2bcdf934afec3f206823f895f.tar.gz
dexon-01c1bce9c5dfa2b2bcdf934afec3f206823f895f.tar.zst
dexon-01c1bce9c5dfa2b2bcdf934afec3f206823f895f.zip
Removed regular ints from the virtual machine and closures
Diffstat (limited to 'ethutil')
-rw-r--r--ethutil/common.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/ethutil/common.go b/ethutil/common.go
index 07df6bb13..f15b10e6d 100644
--- a/ethutil/common.go
+++ b/ethutil/common.go
@@ -33,3 +33,9 @@ func CurrencyToString(num *big.Int) string {
return fmt.Sprintf("%v Wei", num)
}
+
+var (
+ Big1 = big.NewInt(1)
+ Big0 = big.NewInt(0)
+ Big256 = big.NewInt(0xff)
+)