fix : lint

This commit is contained in:
Shivam Sharma 2023-07-13 12:30:53 +08:00
parent 2652d6cec0
commit a8e85c4f87

View file

@ -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
)