Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos #2085

Merged
merged 5 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
blockchain: fix typos
  • Loading branch information
Thabokani committed Dec 31, 2023
commit 46fecda62725cdd22e9c04ad7f9524314258680b
2 changes: 1 addition & 1 deletion blockchain/sizehelper.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const (
avgEntrySize = baseEntrySize + (pubKeyHashLen + 7)
)

// The code here is shamelessely taken from the go runtime package. All the relevant
// The code here is shamelessly taken from the go runtime package. All the relevant
// code and variables are copied to here. These values are only correct for a 64 bit
// system.

Expand Down
2 changes: 1 addition & 1 deletion blockchain/utxocache.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const (
// utxoFlushPeriodicInterval is the interval at which a flush is performed
// when the flush mode FlushPeriodic is used. This is used when the initial
// block download is complete and it's useful to flush periodically in case
// of unforseen shutdowns.
// of unforeseen shutdowns.
utxoFlushPeriodicInterval = time.Minute * 5
)

Expand Down
2 changes: 1 addition & 1 deletion blockchain/utxocache_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ func TestUtxoCacheEntrySize(t *testing.T) {
}
return blocks
}(),
// Multipled by 6 since we'll have 6 entries left.
// Multiplied by 6 since we'll have 6 entries left.
expectedSize: (pubKeyHashLen + baseEntrySize) * 6,
},
{
Expand Down