Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ucwong committed Dec 16, 2020
1 parent ec83bd7 commit be817e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/rawdb/accessors_snapshot.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ func DeleteSnapshotRecoveryNumber(db ctxcdb.KeyValueWriter) {
}
}

// ReadSanpshotSyncStatus retrieves the serialized sync status saved at shutdown.
func ReadSanpshotSyncStatus(db ctxcdb.KeyValueReader) []byte {
// ReadSnapshotSyncStatus retrieves the serialized sync status saved at shutdown.
func ReadSnapshotSyncStatus(db ctxcdb.KeyValueReader) []byte {
data, _ := db.Get(snapshotSyncStatusKey)
return data
}
Expand Down

1 comment on commit be817e0

@ucwong
Copy link
Member Author

@ucwong ucwong commented on be817e0 Dec 22, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.