Skip to content

Commit

Permalink
chore: fix some comment (#3144)
Browse files Browse the repository at this point in the history
  • Loading branch information
hattizai committed Jul 1, 2024
1 parent 2cb8147 commit 8fdf55b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
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
}

0 comments on commit 8fdf55b

Please sign in to comment.