aboutsummaryrefslogtreecommitdiffstats
path: root/common/hexutil
diff options
context:
space:
mode:
authorkiel barry <kiel.j.barry@gmail.com>2018-06-14 17:52:50 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-06-14 17:52:50 +0800
commitd0fd8d6fc29ec859650adf30718e2b06786e854f (patch)
tree5eafbd61e5886245ab48c1670337ca5d6be14718 /common/hexutil
parentcfde0b5f5204647e356a229463337b104552fe2a (diff)
downloaddexon-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar
dexon-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.gz
dexon-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.bz2
dexon-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.lz
dexon-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.xz
dexon-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.zst
dexon-d0fd8d6fc29ec859650adf30718e2b06786e854f.zip
common: all golint warnings removed (#16852)
* common: all golint warnings removed * common: fixups
Diffstat (limited to 'common/hexutil')
-rw-r--r--common/hexutil/hexutil.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/hexutil/hexutil.go b/common/hexutil/hexutil.go
index 02c488a3f..46223a281 100644
--- a/common/hexutil/hexutil.go
+++ b/common/hexutil/hexutil.go
@@ -39,6 +39,7 @@ import (
const uintBits = 32 << (uint64(^uint(0)) >> 63)
+// Errors
var (
ErrEmptyString = &decError{"empty hex string"}
ErrSyntax = &decError{"invalid hex string"}