Skip to content

Commit b9768bb

Browse files
oncecelllbuddh0
authored andcommitted
chore: fix some function names in comment
Signed-off-by: oncecelll <[email protected]>
1 parent 82cc7c8 commit b9768bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

triedb/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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.
493493
func (db *Database) GetStartBlock() (uint64, error) {
494494
pdb, ok := db.backend.(*pathdb.Database)
495495
if !ok {

triedb/pathdb/incr_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
302302
func (im *incrManager) writeIncrData(dl *diffLayer) error {
303303
head, err := im.incrDB.GetChainFreezer().Ancients()
304304
if err != nil {

0 commit comments

Comments
 (0)