aboutsummaryrefslogtreecommitdiffstats
path: root/libdevcore/Exceptions.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-10-20 22:23:28 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-11-17 08:46:45 +0800
commit6ebc094474837d922ac00a92c54c903c5eb78585 (patch)
tree833f1816986db66e465deb27e35930bfd4597a67 /libdevcore/Exceptions.h
parent8a6692b2cfb7cf53db6731acd6a9908bd36b5475 (diff)
downloaddexon-solidity-6ebc094474837d922ac00a92c54c903c5eb78585.tar
dexon-solidity-6ebc094474837d922ac00a92c54c903c5eb78585.tar.gz
dexon-solidity-6ebc094474837d922ac00a92c54c903c5eb78585.tar.bz2
dexon-solidity-6ebc094474837d922ac00a92c54c903c5eb78585.tar.lz
dexon-solidity-6ebc094474837d922ac00a92c54c903c5eb78585.tar.xz
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.h1
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);