core/rawdb, eth/protocols : Method name typo fix (#22026)

This commit is contained in:
ucwong
2020-12-27 22:38:16 +01:00
committed by GitHub
parent c17a7733df
commit a425a47ddc
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -176,8 +176,8 @@ func DeleteSnapshotRecoveryNumber(db ethdb.KeyValueWriter) {
}
}
// ReadSanpshotSyncStatus retrieves the serialized sync status saved at shutdown.
func ReadSanpshotSyncStatus(db ethdb.KeyValueReader) []byte {
// ReadSnapshotSyncStatus retrieves the serialized sync status saved at shutdown.
func ReadSnapshotSyncStatus(db ethdb.KeyValueReader) []byte {
data, _ := db.Get(snapshotSyncStatusKey)
return data
}