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 in comment #1560

Merged
merged 1 commit into from
Dec 11, 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 pkg/proto/eth_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func copyBytes(bytes []byte) []byte {
return copiedBytes
}

// copyBytes returns an exact copy of the provided big.Int.
// copyBigInt returns an exact copy of the provided big.Int.
func copyBigInt(v *big.Int) *big.Int {
if v == nil {
return nil
Expand Down
2 changes: 1 addition & 1 deletion pkg/state/accounts_data_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func (s *accountsDataStorage) setLastAddrNum(lastAddrNum uint64) error {
return nil
}

// newestAddressToNum returns the number of given address. It looks up for the address in cache map first
// newestAddrToNum returns the number of given address. It looks up for the address in cache map first
// and if not present in state. The second result parameter is true if account's number was found cache otherwise false.
// Error can be `keyvalue.ErrNotFound` if no corresponding number found for given address.
func (s *accountsDataStorage) newestAddrToNum(addr proto.Address) (uint64, bool, error) {
Expand Down
Loading