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

chore: fix some comment #3144

Merged
merged 2 commits into from
Jul 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion snow/engine/snowman/bootstrap/interval/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func GetBlockIterator(db database.Iteratee) database.Iterator {
return db.NewIteratorWithPrefix(blockPrefix)
}

// GetBlockIterator returns a block iterator that will produce values
// GetBlockIteratorWithStart returns a block iterator that will produce values
// corresponding to persisted blocks in order of increasing height starting at
// [height].
func GetBlockIteratorWithStart(db database.Iteratee, height uint64) database.Iterator {
Expand Down
2 changes: 1 addition & 1 deletion utils/dynamicip/opendns_resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ var (
_ Resolver = (*openDNSResolver)(nil)
)

// IFConfigResolves resolves our public IP using openDNS
// openDNSResolver resolves our public IP using openDNS
type openDNSResolver struct {
resolver *net.Resolver
}
Expand Down
2 changes: 1 addition & 1 deletion vms/avm/vm_benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func BenchmarkLoadUser(b *testing.B) {
}
}

// GetAllUTXOsBenchmark is a helper func to benchmark the GetAllUTXOs depending on the size
// getAllUTXOsBenchmark is a helper func to benchmark the GetAllUTXOs depending on the size
func getAllUTXOsBenchmark(b *testing.B, utxoCount int, randSrc rand.Source) {
require := require.New(b)

Expand Down
2 changes: 1 addition & 1 deletion vms/secp256k1fx/tx.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ var _ UnsignedTx = (*TestTx)(nil)
// TestTx is a minimal implementation of a Tx
type TestTx struct{ UnsignedBytes []byte }

// UnsignedBytes returns Bytes
// Bytes returns UnsignedBytes
func (tx *TestTx) Bytes() []byte {
return tx.UnsignedBytes
}
Loading