Merge pull request #713 from gzliudan/fix-sa9004

compression/rle: fix staticcheck warning SA9004: only the first constant has an explicit type
This commit is contained in:
Daniel Liu 2024-10-30 21:12:46 +08:00 committed by GitHub
commit dc562d4ab1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,9 +26,9 @@ import (
const (
token byte = 0xfe
emptyShaToken = 0xfd
emptyListShaToken = 0xfe
tokenToken = 0xff
emptyShaToken byte = 0xfd
emptyListShaToken byte = 0xfe
tokenToken byte = 0xff
)
var empty = crypto.Keccak256([]byte(""))