mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 02:42:27 +00:00
remove uneccessary TODO
This commit is contained in:
parent
d6d06b686c
commit
e3e4ffe967
1 changed files with 1 additions and 5 deletions
|
|
@ -271,11 +271,7 @@ func (sf *subfetcher) loop() {
|
|||
if len(task) == common.AddressLength {
|
||||
sf.trie.GetAccount(common.BytesToAddress(task))
|
||||
} else {
|
||||
_, err := sf.trie.GetStorage(sf.addr, task)
|
||||
if err != nil {
|
||||
// TODO: see what needs to be done in this case
|
||||
fmt.Printf("prefetch storage failed: %+v\n", err)
|
||||
}
|
||||
_, _ := sf.trie.GetStorage(sf.addr, task)
|
||||
}
|
||||
sf.seen[string(task)] = struct{}{}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue