diff --git a/chain/utils_test.go b/chain/utils_test.go index f65a99cd53..d983c4030c 100644 --- a/chain/utils_test.go +++ b/chain/utils_test.go @@ -82,7 +82,10 @@ func setupConnPair() (net.Conn, net.Conn, error) { // returns the root of the tree. // // This function was copied from: -// https://github.com/btcsuite/btcd/blob/36a96f6a0025b6aeaebe4106821c2d46ee4be8d4/blockchain/fullblocktests/generate.go#L303 +// +// https://github.com/btcsuite/btcd/blob/36a96f6a0025b6aeaebe4106821c2d46ee4be8d4/blockchain/fullblocktests/generate.go#L303 +// +//nolint:lll func calcMerkleRoot(txns []*wire.MsgTx) chainhash.Hash { if len(txns) == 0 { return chainhash.Hash{} @@ -102,7 +105,10 @@ func calcMerkleRoot(txns []*wire.MsgTx) chainhash.Hash { // with the solution. False is returned if no solution exists. // // This function was copied from: -// https://github.com/btcsuite/btcd/blob/36a96f6a0025b6aeaebe4106821c2d46ee4be8d4/blockchain/fullblocktests/generate.go#L324 +// +// https://github.com/btcsuite/btcd/blob/36a96f6a0025b6aeaebe4106821c2d46ee4be8d4/blockchain/fullblocktests/generate.go#L324 +// +//nolint:lll func solveBlock(header *wire.BlockHeader) bool { // sbResult is used by the solver goroutines to send results. type sbResult struct {