File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -489,7 +489,7 @@ func (db *Database) SetStateGenerator() {
489489 pdb .SetStateGenerator ()
490490}
491491
492- // RepairIncrStore is used to repair incr store .
492+ // GetStartBlock returns the start block number .
493493func (db * Database ) GetStartBlock () (uint64 , error ) {
494494 pdb , ok := db .backend .(* pathdb.Database )
495495 if ! ok {
Original file line number Diff line number Diff line change @@ -298,7 +298,7 @@ func (im *incrManager) processWriteTask(dl *diffLayer) error {
298298 return nil
299299}
300300
301- // writeChainData writes incremental data: chain and state
301+ // writeIncrData writes incremental data: chain and state
302302func (im * incrManager ) writeIncrData (dl * diffLayer ) error {
303303 head , err := im .incrDB .GetChainFreezer ().Ancients ()
304304 if err != nil {
You can’t perform that action at this time.
0 commit comments