From d0806a2c04c7f6226dcc063d2bc532257480793a Mon Sep 17 00:00:00 2001 From: Vincent Serpoul Date: Fri, 8 Jun 2018 11:45:06 +0800 Subject: [PATCH] common: add comments for golint --- common/types.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/common/types.go b/common/types.go index 12c26d94bc..e599bce1e9 100644 --- a/common/types.go +++ b/common/types.go @@ -30,7 +30,9 @@ import ( ) const ( - HashLength = 32 + // HashLength is the expected length of the hash + HashLength = 32 + // AddressLength is the expected length of the adddress AddressLength = 20 )