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 function names #66

Merged
merged 1 commit into from
Aug 13, 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 api/debug/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (h *HandlerT) StartGoTrace(file string) error {
return nil
}

// StopTrace stops an ongoing trace.
// StopGoTrace stops an ongoing trace.
func (h *HandlerT) StopGoTrace() error {
h.mu.Lock()
defer h.mu.Unlock()
Expand Down
2 changes: 1 addition & 1 deletion blockchain/types/account/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func NewAccountWithType(t AccountType) (Account, error) {
return nil, ErrUndefinedAccountType
}

// NewAccountWithType creates an Account object initialized with the given map.
// NewAccountWithMap creates an Account object initialized with the given map.
func NewAccountWithMap(t AccountType, values map[AccountValueKeyType]interface{}) (Account, error) {
switch t {
case LegacyAccountType:
Expand Down
2 changes: 1 addition & 1 deletion blockchain/types/account/account_serializer.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func NewAccountSerializerExt() *AccountSerializer {
return &AccountSerializer{preserveExtHash: true}
}

// NewAccountSerializerWithAccount creates a new AccountSerializer object with the given account.
// NewAccountSerializerExtWithAccount creates a new AccountSerializer object with the given account.
func NewAccountSerializerExtWithAccount(a Account) *AccountSerializer {
return &AccountSerializer{a.Type(), a, true}
}
Expand Down
Loading