diff options
author | Péter Szilágyi <peterke@gmail.com> | 2017-08-07 19:16:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-07 19:16:55 +0800 |
commit | fc0c6c175c830283252deb436138e2abf9a6d126 (patch) | |
tree | 3552a14bc030eee7612267cd6842086330fed9cf /common/hexutil | |
parent | 7c74e166b0ee14cf040374f522bc399841a11e69 (diff) | |
parent | 392151e251fef59bf72df5a33899724edb7238b9 (diff) | |
download | dexon-fc0c6c175c830283252deb436138e2abf9a6d126.tar dexon-fc0c6c175c830283252deb436138e2abf9a6d126.tar.gz dexon-fc0c6c175c830283252deb436138e2abf9a6d126.tar.bz2 dexon-fc0c6c175c830283252deb436138e2abf9a6d126.tar.lz dexon-fc0c6c175c830283252deb436138e2abf9a6d126.tar.xz dexon-fc0c6c175c830283252deb436138e2abf9a6d126.tar.zst dexon-fc0c6c175c830283252deb436138e2abf9a6d126.zip |
Merge pull request #14913 from egonelbre/megacheck_common
common: fix megacheck warnings
Diffstat (limited to 'common/hexutil')
-rw-r--r-- | common/hexutil/json.go | 9 |
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. |