aboutsummaryrefslogtreecommitdiffstats
path: root/common/types.go
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/types.go
parentcfde0b5f5204647e356a229463337b104552fe2a (diff)
downloadgo-tangerine-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar
go-tangerine-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.gz
go-tangerine-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.bz2
go-tangerine-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.lz
go-tangerine-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.xz
go-tangerine-d0fd8d6fc29ec859650adf30718e2b06786e854f.tar.zst
go-tangerine-d0fd8d6fc29ec859650adf30718e2b06786e854f.zip
common: all golint warnings removed (#16852)
* common: all golint warnings removed * common: fixups
Diffstat (limited to 'common/types.go')
-rw-r--r--common/types.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/types.go b/common/types.go
index 12c26d94b..4d374ad24 100644
--- a/common/types.go
+++ b/common/types.go
@@ -29,6 +29,7 @@ import (
"github.com/ethereum/go-ethereum/crypto/sha3"
)
+// Lengths of hashes and addresses in bytes.
const (
HashLength = 32
AddressLength = 20