From cefe182b8091b115ce6a2ded0375118ab6897f1c Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Sun, 28 Aug 2022 20:29:29 -0700 Subject: [PATCH] Ignore 1 linter error --- applications/proof_of_work_app.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/applications/proof_of_work_app.go b/applications/proof_of_work_app.go index 222e344..0b88dd3 100644 --- a/applications/proof_of_work_app.go +++ b/applications/proof_of_work_app.go @@ -78,7 +78,8 @@ func (powapp *ProofOfWorkApplication) solveChallenge(challenge []byte, prng core log.Errorf("error completing challenge: %v", err) return nil } - // TODO API this is "deprecated", but without it it will cause an allocation on every single check + + //lint:ignore SA1019 API this is "deprecated", but without it it will cause an allocation on every single check solution = next.Encode(encodedSolution) copy(solve[0:], solution[:])