mirror of https://github.com/ethereum/go-ethereum
trie: fix two issues in trie iterator (#24539)
* trie: fix memory leak in trie iterator In the trie iterator, live nodes are tracked in a stack while iterating. Popped node states should be explictly set to nil in order to get garbage-collected. * trie: fix empty trie iteratorpull/24540/head
parent
c3701b265e
commit
fb2ae8e995
Loading…
Reference in new issue