diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-11-17 09:43:08 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-17 09:43:08 +0800 |
commit | 2b5ef80634c94a5cf27f3ce8a85eeb9d713f5ec3 (patch) | |
tree | 092a1703bf0d44b6eb7af6282b213c098f65ab84 /libdevcore/CommonData.h | |
parent | 2927ce0bd43e7d6aa3ba8e13bd123225adf1c7e8 (diff) | |
parent | 53796c0fe8bfd6ff2707bd12dd3141169489f763 (diff) | |
download | dexon-solidity-2b5ef80634c94a5cf27f3ce8a85eeb9d713f5ec3.tar dexon-solidity-2b5ef80634c94a5cf27f3ce8a85eeb9d713f5ec3.tar.gz dexon-solidity-2b5ef80634c94a5cf27f3ce8a85eeb9d713f5ec3.tar.bz2 dexon-solidity-2b5ef80634c94a5cf27f3ce8a85eeb9d713f5ec3.tar.lz dexon-solidity-2b5ef80634c94a5cf27f3ce8a85eeb9d713f5ec3.tar.xz dexon-solidity-2b5ef80634c94a5cf27f3ce8a85eeb9d713f5ec3.tar.zst dexon-solidity-2b5ef80634c94a5cf27f3ce8a85eeb9d713f5ec3.zip |
Merge pull request #3031 from wadeAlexC/develop
Improves checksum error message
Diffstat (limited to 'libdevcore/CommonData.h')
-rw-r--r-- | libdevcore/CommonData.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libdevcore/CommonData.h b/libdevcore/CommonData.h index 765707f8..e76a0949 100644 --- a/libdevcore/CommonData.h +++ b/libdevcore/CommonData.h @@ -209,4 +209,8 @@ bool contains(T const& _t, V const& _v) /// are considered valid. bool passesAddressChecksum(std::string const& _str, bool _strict); +/// @returns the checksummed version of an address +/// @param hex strings that look like an address +std::string getChecksummedAddress(std::string const& _addr); + } |