aboutsummaryrefslogtreecommitdiffstats
path: root/ethutil/common.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-07-25 16:43:35 +0800
committerobscuren <geffobscura@gmail.com>2014-07-25 16:43:35 +0800
commitd761af84c83ae8d9d723e6766abb7950ff59cdf3 (patch)
tree6fe0805649ddf38b2b90e77c5fb2000a4bdab536 /ethutil/common.go
parent06ec80f39495bdd92878468cf862f52e9748f1ca (diff)
parent54f9ea14e197ad805f24592153f1b9e69f3bc5c3 (diff)
downloaddexon-d761af84c83ae8d9d723e6766abb7950ff59cdf3.tar
dexon-d761af84c83ae8d9d723e6766abb7950ff59cdf3.tar.gz
dexon-d761af84c83ae8d9d723e6766abb7950ff59cdf3.tar.bz2
dexon-d761af84c83ae8d9d723e6766abb7950ff59cdf3.tar.lz
dexon-d761af84c83ae8d9d723e6766abb7950ff59cdf3.tar.xz
dexon-d761af84c83ae8d9d723e6766abb7950ff59cdf3.tar.zst
dexon-d761af84c83ae8d9d723e6766abb7950ff59cdf3.zip
Merge branch 'release/0.6.0'
Diffstat (limited to 'ethutil/common.go')
-rw-r--r--ethutil/common.go12
1 files changed, 7 insertions, 5 deletions
diff --git a/ethutil/common.go b/ethutil/common.go
index 2fd031a20..cbd94e7ad 100644
--- a/ethutil/common.go
+++ b/ethutil/common.go
@@ -58,9 +58,11 @@ func CurrencyToString(num *big.Int) string {
// Common big integers often used
var (
- Big1 = big.NewInt(1)
- Big2 = big.NewInt(2)
- Big0 = big.NewInt(0)
- Big32 = big.NewInt(32)
- Big256 = big.NewInt(0xff)
+ Big1 = big.NewInt(1)
+ Big2 = big.NewInt(2)
+ Big0 = big.NewInt(0)
+ BigTrue = Big1
+ BigFalse = Big0
+ Big32 = big.NewInt(32)
+ Big256 = big.NewInt(0xff)
)