Skip to content

Commit

Permalink
chore: fix some function names in comment (#1560)
Browse files Browse the repository at this point in the history
Signed-off-by: soonsouth <[email protected]>
  • Loading branch information
soonsouth authored Dec 11, 2024
1 parent cee7e41 commit 40be9ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 40be9ce

Please sign in to comment.