mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 12:16:44 +00:00
fix: linter issues
This commit is contained in:
parent
5d8f73e733
commit
3c5a4c55e7
1 changed files with 0 additions and 2 deletions
|
|
@ -1077,11 +1077,9 @@ func (bc *BlockChain) setHeadBeyondRoot(head uint64, time uint64, root common.Ha
|
|||
// removed by the hc.SetHead function.
|
||||
if body := rawdb.ReadBody(bc.db, hash, num); body != nil {
|
||||
for _, tx := range body.Transactions {
|
||||
|
||||
rawdb.DeleteTxLookupEntry(db, tx.Hash())
|
||||
}
|
||||
}
|
||||
|
||||
rawdb.DeleteBody(db, hash, num)
|
||||
rawdb.DeleteReceipts(db, hash, num)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue