mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-13 07:23:46 +00:00
fix : lint
This commit is contained in:
parent
2652d6cec0
commit
a8e85c4f87
1 changed files with 1 additions and 2 deletions
|
|
@ -1526,11 +1526,10 @@ func getCodeByHash(hash common.Hash) []byte {
|
||||||
|
|
||||||
// makeAccountTrieNoStorage spits out a trie, along with the leafs
|
// makeAccountTrieNoStorage spits out a trie, along with the leafs
|
||||||
func makeAccountTrieNoStorage(n int) (string, *trie.Trie, entrySlice) {
|
func makeAccountTrieNoStorage(n int) (string, *trie.Trie, entrySlice) {
|
||||||
|
// nolint:prealloc
|
||||||
var (
|
var (
|
||||||
db = trie.NewDatabase(rawdb.NewMemoryDatabase())
|
db = trie.NewDatabase(rawdb.NewMemoryDatabase())
|
||||||
accTrie = trie.NewEmpty(db)
|
accTrie = trie.NewEmpty(db)
|
||||||
|
|
||||||
// nolint:prealloc
|
|
||||||
entries entrySlice
|
entries entrySlice
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue