aboutsummaryrefslogtreecommitdiffstats
path: root/common/hexutil/json.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-08-07 19:16:55 +0800
committerGitHub <noreply@github.com>2017-08-07 19:16:55 +0800
commitfc0c6c175c830283252deb436138e2abf9a6d126 (patch)
tree3552a14bc030eee7612267cd6842086330fed9cf /common/hexutil/json.go
parent7c74e166b0ee14cf040374f522bc399841a11e69 (diff)
parent392151e251fef59bf72df5a33899724edb7238b9 (diff)
downloadgo-tangerine-fc0c6c175c830283252deb436138e2abf9a6d126.tar
go-tangerine-fc0c6c175c830283252deb436138e2abf9a6d126.tar.gz
go-tangerine-fc0c6c175c830283252deb436138e2abf9a6d126.tar.bz2
go-tangerine-fc0c6c175c830283252deb436138e2abf9a6d126.tar.lz
go-tangerine-fc0c6c175c830283252deb436138e2abf9a6d126.tar.xz
go-tangerine-fc0c6c175c830283252deb436138e2abf9a6d126.tar.zst
go-tangerine-fc0c6c175c830283252deb436138e2abf9a6d126.zip
Merge pull request #14913 from egonelbre/megacheck_common
common: fix megacheck warnings
Diffstat (limited to 'common/hexutil/json.go')
-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.