Skip to content

Commit

Permalink
Update pkg/crypto/evm_address.go
Browse files Browse the repository at this point in the history
Co-authored-by: Dmitry S <[email protected]>
  • Loading branch information
lumtis and swift1337 authored Dec 11, 2024
1 parent 4462cba commit 83aae7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/crypto/evm_address.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ func IsEVMAddress(address string) bool {
}

// IsChecksumAddress returns true if the EVM address string is a valid checksum address
// See https://eips.ethereum.org/EIPS/eip-55
func IsChecksumAddress(address string) bool {
return address == common.HexToAddress(address).Hex()
}
Expand Down

0 comments on commit 83aae7c

Please sign in to comment.