From b44b23c5311ae691e330a8134549eae23147b513 Mon Sep 17 00:00:00 2001 From: mrz1836 Date: Sat, 4 Feb 2023 11:45:15 -0500 Subject: [PATCH] Fixed linter issue with nolint comment --- address.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/address.go b/address.go index 7efa22a..2977cdf 100644 --- a/address.go +++ b/address.go @@ -123,7 +123,7 @@ func GetAddressFromPubKey(publicKey *bec.PublicKey, compressed bool) (*bscript.A // https://github.com/libsv/go-bt/blob/master/bscript/address.go#L98 hash := crypto.Hash160(publicKey.SerialiseUncompressed()) bb := make([]byte, 1) - // nolint: makezero // we need to set up the array with 1 + //nolint: makezero // we need to set up the array with 1 bb = append(bb, hash...) return &bscript.Address{ AddressString: bscript.Base58EncodeMissingChecksum(bb),