diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-22 01:22:47 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-22 01:22:47 +0800 |
commit | 01c1bce9c5dfa2b2bcdf934afec3f206823f895f (patch) | |
tree | 03c6e06ced15c61e2997b3d7d42fa11b2426d7c5 /ethutil | |
parent | 9a9e252cabdc6283d7f4e523860f0e4addf62152 (diff) | |
download | go-tangerine-01c1bce9c5dfa2b2bcdf934afec3f206823f895f.tar.gz go-tangerine-01c1bce9c5dfa2b2bcdf934afec3f206823f895f.tar.zst go-tangerine-01c1bce9c5dfa2b2bcdf934afec3f206823f895f.zip |
Removed regular ints from the virtual machine and closures
Diffstat (limited to 'ethutil')
-rw-r--r-- | ethutil/common.go | 6 |
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) +) |