Skip to content

Commit

Permalink
headerfs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vuittont60 committed Jan 15, 2024
1 parent ec6ddcf commit 6eb81d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion headerfs/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (h *blockHeaderStore) readHeaderRange(startHeight uint32,
}

// readHeader reads a full block header from the flat-file. The header read is
// determined by the hight value.
// determined by the height value.
func (h *blockHeaderStore) readHeader(height uint32) (wire.BlockHeader, error) {
var header wire.BlockHeader

Expand Down
2 changes: 1 addition & 1 deletion headerfs/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -836,7 +836,7 @@ func (f *FilterHeader) toIndexEntry() headerEntry {

// WriteHeaders writes a batch of filter headers to persistent storage. The
// headers themselves are appended to the flat file, and then the index updated
// to reflect the new entires.
// to reflect the new entries.
func (f *FilterHeaderStore) WriteHeaders(hdrs ...FilterHeader) error {
// Lock store for write.
f.mtx.Lock()
Expand Down

0 comments on commit 6eb81d1

Please sign in to comment.