diff options
author | wadeAlexC <wade.alex.c@gmail.com> | 2017-10-05 21:28:25 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-11-17 08:46:44 +0800 |
commit | 8a6692b2cfb7cf53db6731acd6a9908bd36b5475 (patch) | |
tree | 205a7099eacf17a44932c3285371a7007bf980ea /libdevcore/CommonData.h | |
parent | 2927ce0bd43e7d6aa3ba8e13bd123225adf1c7e8 (diff) | |
download | dexon-solidity-8a6692b2cfb7cf53db6731acd6a9908bd36b5475.tar.gz dexon-solidity-8a6692b2cfb7cf53db6731acd6a9908bd36b5475.tar.zst dexon-solidity-8a6692b2cfb7cf53db6731acd6a9908bd36b5475.zip |
Improves address literal 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); + } |