mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-08 07:58:40 +00:00
core/state: note that error case is unreachable
This commit is contained in:
parent
ac8354d4ca
commit
aa8745521f
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ func (db *CachingDB) ReaderEIP7928(stateRoot common.Hash, accessList map[common.
|
||||||
pr := newPrefetchStateReader(r, accessList, threads)
|
pr := newPrefetchStateReader(r, accessList, threads)
|
||||||
if block {
|
if block {
|
||||||
if err := pr.Wait(); err != nil {
|
if err := pr.Wait(); err != nil {
|
||||||
panic("wat do")
|
panic("unreachable")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue