Skip to content

Commit 550d7d2

Browse files
authored
ci(lint): ignore false positive, nonce is [16]byte (#463)
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
1 parent e3145c7 commit 550d7d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/miner/miner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ func (m *Miner) calculateHash() []byte {
401401
nonce := m.state.GetNonce()
402402
// Increment each byte of the nonce
403403
for j := range 16 {
404-
nonce[j]++
404+
nonce[j]++ //nolint:gosec
405405
}
406406
m.state.SetNonce(nonce)
407407
}

0 commit comments

Comments
 (0)