Skip to content

Commit

Permalink
Merge pull request #66 from rubyisrust/dev
Browse files Browse the repository at this point in the history
chore: fix some function names
  • Loading branch information
blukat29 authored Aug 13, 2024
2 parents c7656e2 + 0cdb8b2 commit f51b9fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit f51b9fd

Please sign in to comment.