mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-08 07:58:40 +00:00
fix ci
This commit is contained in:
parent
5b15ecb8bb
commit
b4156b31cc
1 changed files with 1 additions and 4 deletions
|
|
@ -721,10 +721,7 @@ func (bc *BlockChain) loadLastState() error {
|
|||
// initializeHistoryPruning sets bc.historyPrunePoint based on actual DB state,
|
||||
// and prunes chain history at startup if needed.
|
||||
func (bc *BlockChain) initializeHistoryPruning(latest uint64) error {
|
||||
freezerTail, err := bc.db.Tail()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
freezerTail, _ := bc.db.Tail()
|
||||
policy := bc.cfg.HistoryPolicy
|
||||
// Compute the current prune target from the policy.
|
||||
var target uint64
|
||||
|
|
|
|||
Loading…
Reference in a new issue