mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-29 16:13:47 +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
|
||||
func makeAccountTrieNoStorage(n int) (string, *trie.Trie, entrySlice) {
|
||||
// nolint:prealloc
|
||||
var (
|
||||
db = trie.NewDatabase(rawdb.NewMemoryDatabase())
|
||||
accTrie = trie.NewEmpty(db)
|
||||
|
||||
// nolint:prealloc
|
||||
entries entrySlice
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue