compression/rle: fix staticcheck warning SA9004: constant has no explicit type

This commit is contained in:
Daniel Liu 2024-10-30 14:09:03 +08:00
parent 8f79376ef7
commit 29c9c5808a

View file

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