Skip to content

Commit b44b23c

Browse files
committed
Fixed linter issue with nolint comment
1 parent 2244c3d commit b44b23c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

address.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ func GetAddressFromPubKey(publicKey *bec.PublicKey, compressed bool) (*bscript.A
123123
// https://github.com/libsv/go-bt/blob/master/bscript/address.go#L98
124124
hash := crypto.Hash160(publicKey.SerialiseUncompressed())
125125
bb := make([]byte, 1)
126-
// nolint: makezero // we need to set up the array with 1
126+
//nolint: makezero // we need to set up the array with 1
127127
bb = append(bb, hash...)
128128
return &bscript.Address{
129129
AddressString: bscript.Base58EncodeMissingChecksum(bb),

0 commit comments

Comments
 (0)