*: fix golint's omit type suggestions

pkg/core/transaction/attribute.go:67:14: should omit type uint8 from declaration of var urllen; it will be inferred from the right-hand side
pkg/crypto/keys/publickey.go:184:8: should omit type []byte from declaration of var b; it will be inferred from the right-hand side
pkg/network/payload/version_test.go:15:12: should omit type bool from declaration of var relay; it will be inferred from the right-hand side

Refs. #213.
This commit is contained in:
Roman Khimov 2019-09-03 18:06:16 +03:00
parent a74518691c
commit db9e37b3bb
3 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@ func TestVersionEncodeDecode(t *testing.T) {
var id uint32 = 13337
useragent := "/NEO:0.0.1/"
var height uint32 = 100500
var relay bool = true
var relay = true
version := NewVersion(id, port, useragent, height, relay)