Skip to content

Commit 4024c1e

Browse files
authored
fix typo (#24731)
1 parent 7d7a965 commit 4024c1e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/rawdb/accessors_chain.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ func ReadRawReceipts(db ethdb.Reader, hash common.Hash, number uint64) types.Rec
604604
}
605605

606606
// ReadReceipts retrieves all the transaction receipts belonging to a block, including
607-
// its correspoinding metadata fields. If it is unable to populate these metadata
607+
// its corresponding metadata fields. If it is unable to populate these metadata
608608
// fields then nil is returned.
609609
//
610610
// The current implementation populates these metadata fields by reading the receipts'

core/rawdb/database.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ func NewDatabaseWithFreezer(db ethdb.KeyValueStore, freezer string, namespace st
179179
// this point care, the key-value/freezer combo is valid).
180180
// - If neither the key-value store nor the freezer is empty, cross validate
181181
// the genesis hashes to make sure they are compatible. If they are, also
182-
// ensure that there's no gap between the freezer and sunsequently leveldb.
182+
// ensure that there's no gap between the freezer and subsequently leveldb.
183183
// - If the key-value store is not empty, but the freezer is we might just be
184184
// upgrading to the freezer release, or we might have had a small chain and
185185
// not frozen anything yet. Ensure that no blocks are missing yet from the

core/rawdb/freezer_table.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ type freezerTable struct {
119119
writeMeter metrics.Meter // Meter for measuring the effective amount of data written
120120
sizeGauge metrics.Gauge // Gauge for tracking the combined size of all freezer tables
121121

122-
logger log.Logger // Logger with database path and table name ambedded
122+
logger log.Logger // Logger with database path and table name embedded
123123
lock sync.RWMutex // Mutex protecting the data file descriptors
124124
}
125125

0 commit comments

Comments
 (0)