Skip to content
This repository was archived by the owner on May 25, 2020. It is now read-only.

Commit b926559

Browse files
committed
fix restart node with empty tomox state
1 parent 275c3d4 commit b926559

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

core/blockchain.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,7 +540,11 @@ func (bc *BlockChain) repair(head **types.Block) error {
540540
return nil
541541
}
542542
}
543+
} else {
544+
return nil
543545
}
546+
} else {
547+
return nil
544548
}
545549
}
546550
// Otherwise rewind one block and recheck state availability there

0 commit comments

Comments
 (0)