mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-13 10:21:37 +00:00
When the snapshot is unavailable, ServiceTrieNodesQuery falls back to triedb.StateReader but discards the error. If StateReader fails (e.g. state pruned or DB corruption), the nil reader is passed to trie operations, causing a nil pointer dereference when serving trie node requests. Return a proper error instead of silently proceeding with a nil state reader. |
||
|---|---|---|
| .. | ||
| eth | ||
| snap | ||