aboutsummaryrefslogtreecommitdiffstats
path: root/common/hexutil
diff options
context:
space:
mode:
authorEgon Elbre <egonelbre@gmail.com>2017-08-05 18:40:51 +0800
committerEgon Elbre <egonelbre@gmail.com>2017-08-07 18:16:56 +0800
commit392151e251fef59bf72df5a33899724edb7238b9 (patch)
tree08255eb72ffea27afaba1f1c0eeee0885a0f7a12 /common/hexutil
parentb159cdd8dd33ba030e7af5aa144de43441e4f543 (diff)
downloaddexon-392151e251fef59bf72df5a33899724edb7238b9.tar.gz
dexon-392151e251fef59bf72df5a33899724edb7238b9.tar.zst
dexon-392151e251fef59bf72df5a33899724edb7238b9.zip
common: fix megacheck warnings
Diffstat (limited to 'common/hexutil')
-rw-r--r--common/hexutil/json.go9
1 files changed, 4 insertions, 5 deletions
diff --git a/common/hexutil/json.go b/common/hexutil/json.go
index 943288fad..11e14cae7 100644
--- a/common/hexutil/json.go
+++ b/common/hexutil/json.go
@@ -26,11 +26,10 @@ import (
)
var (
- textZero = []byte(`0x0`)
- bytesT = reflect.TypeOf(Bytes(nil))
- bigT = reflect.TypeOf((*Big)(nil))
- uintT = reflect.TypeOf(Uint(0))
- uint64T = reflect.TypeOf(Uint64(0))
+ bytesT = reflect.TypeOf(Bytes(nil))
+ bigT = reflect.TypeOf((*Big)(nil))
+ uintT = reflect.TypeOf(Uint(0))
+ uint64T = reflect.TypeOf(Uint64(0))
)
// Bytes marshals/unmarshals as a JSON string with 0x prefix.