From 392151e251fef59bf72df5a33899724edb7238b9 Mon Sep 17 00:00:00 2001 From: Egon Elbre Date: Sat, 5 Aug 2017 13:40:51 +0300 Subject: common: fix megacheck warnings --- common/hexutil/json.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'common/hexutil') 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. -- cgit