mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
light: golint fixes
This commit is contained in:
parent
ce98156177
commit
213b5563d9
1 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ var (
|
||||||
errNoHeader = errors.New("header not found")
|
errNoHeader = errors.New("header not found")
|
||||||
chtPrefix = []byte("chtRootV2-") // chtPrefix + chtNum (uint64 big endian) -> trie root hash
|
chtPrefix = []byte("chtRootV2-") // chtPrefix + chtNum (uint64 big endian) -> trie root hash
|
||||||
// ChtTablePrefix is the prefix used "cht-"
|
// ChtTablePrefix is the prefix used "cht-"
|
||||||
ChtTablePrefix = "cht-"
|
ChtTablePrefix = "cht-"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ChtNode structures are stored in the Canonical Hash Trie in an RLP encoded format
|
// ChtNode structures are stored in the Canonical Hash Trie in an RLP encoded format
|
||||||
|
|
@ -225,7 +225,7 @@ func (c *ChtIndexerBackend) Commit() error {
|
||||||
}
|
}
|
||||||
|
|
||||||
var (
|
var (
|
||||||
bloomTriePrefix = []byte("bltRoot-") // bloomTriePrefix + bloomTrieNum (uint64 big endian) -> trie root hash
|
bloomTriePrefix = []byte("bltRoot-") // bloomTriePrefix + bloomTrieNum (uint64 big endian) -> trie root hash
|
||||||
// BloomTrieTablePrefix is the prefix used "blt-"
|
// BloomTrieTablePrefix is the prefix used "blt-"
|
||||||
BloomTrieTablePrefix = "blt-"
|
BloomTrieTablePrefix = "blt-"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue