diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-10-20 22:23:28 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-11-17 08:46:45 +0800 |
commit | 6ebc094474837d922ac00a92c54c903c5eb78585 (patch) | |
tree | 833f1816986db66e465deb27e35930bfd4597a67 /libdevcore/Exceptions.h | |
parent | 8a6692b2cfb7cf53db6731acd6a9908bd36b5475 (diff) | |
download | dexon-solidity-6ebc094474837d922ac00a92c54c903c5eb78585.tar.gz dexon-solidity-6ebc094474837d922ac00a92c54c903c5eb78585.tar.zst dexon-solidity-6ebc094474837d922ac00a92c54c903c5eb78585.zip |
Ensure that non-hex characters are caught in address checksumming
Diffstat (limited to 'libdevcore/Exceptions.h')
-rw-r--r-- | libdevcore/Exceptions.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libdevcore/Exceptions.h b/libdevcore/Exceptions.h index a3e638bf..cfe72fbf 100644 --- a/libdevcore/Exceptions.h +++ b/libdevcore/Exceptions.h @@ -44,6 +44,7 @@ private: #define DEV_SIMPLE_EXCEPTION(X) struct X: virtual Exception { const char* what() const noexcept override { return #X; } } +DEV_SIMPLE_EXCEPTION(InvalidAddress); DEV_SIMPLE_EXCEPTION(BadHexCharacter); DEV_SIMPLE_EXCEPTION(FileError); |