Ignore 1 linter error
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Sarah Jamie Lewis 2022-08-28 20:29:29 -07:00
parent 2da2c98b91
commit cefe182b80
1 changed files with 2 additions and 1 deletions

View File

@ -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[:])