forked from cwtch.im/tapir
Ignore 1 linter error
This commit is contained in:
parent
2da2c98b91
commit
cefe182b80
|
@ -78,7 +78,8 @@ func (powapp *ProofOfWorkApplication) solveChallenge(challenge []byte, prng core
|
||||||
log.Errorf("error completing challenge: %v", err)
|
log.Errorf("error completing challenge: %v", err)
|
||||||
return nil
|
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)
|
solution = next.Encode(encodedSolution)
|
||||||
|
|
||||||
copy(solve[0:], solution[:])
|
copy(solve[0:], solution[:])
|
||||||
|
|
Loading…
Reference in New Issue