diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-24 17:54:51 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-11-17 08:46:45 +0800 |
commit | 1d5dd909b4ed8625330e9ec859e02dfd067f4006 (patch) | |
tree | f1302366463bb89248b632a6a947210e24af66cd /libsolidity/ast/AST.h | |
parent | 6ebc094474837d922ac00a92c54c903c5eb78585 (diff) | |
download | dexon-solidity-1d5dd909b4ed8625330e9ec859e02dfd067f4006.tar.gz dexon-solidity-1d5dd909b4ed8625330e9ec859e02dfd067f4006.tar.zst dexon-solidity-1d5dd909b4ed8625330e9ec859e02dfd067f4006.zip |
Do not try to display checksummed address for too-short/long address literals
Diffstat (limited to 'libsolidity/ast/AST.h')
-rw-r--r-- | libsolidity/ast/AST.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/ast/AST.h b/libsolidity/ast/AST.h index 5d6763ca..feffde64 100644 --- a/libsolidity/ast/AST.h +++ b/libsolidity/ast/AST.h @@ -1613,7 +1613,7 @@ public: bool looksLikeAddress() const; /// @returns true if it passes the address checksum test. bool passesAddressChecksum() const; - /// @returns the checksummed version of an address + /// @returns the checksummed version of an address (or empty string if not valid) std::string getChecksummedAddress() const; private: |