diff options
author | winsvega <winsvega@mail.ru> | 2015-02-13 04:43:57 +0800 |
---|---|---|
committer | winsvega <winsvega@mail.ru> | 2015-02-13 04:43:57 +0800 |
commit | c09d91a2f04b862e70f30ddb32708697e77c6bea (patch) | |
tree | 1e9cd3c0efb96054a8074f5264f653d0eeb2520f /TestHelper.cpp | |
parent | 5ea03fd533fcc4206bc8a71b8c71ede177f1f86a (diff) | |
download | dexon-solidity-c09d91a2f04b862e70f30ddb32708697e77c6bea.tar.gz dexon-solidity-c09d91a2f04b862e70f30ddb32708697e77c6bea.tar.zst dexon-solidity-c09d91a2f04b862e70f30ddb32708697e77c6bea.zip |
New Tests
Transaction with RLP object and catching exceptions from importByteArray
Diffstat (limited to 'TestHelper.cpp')
-rw-r--r-- | TestHelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index 8a00a546..5e747210 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -247,7 +247,7 @@ byte toByte(json_spirit::mValue const& _v) bytes importByteArray(std::string const& _str) { - return fromHex(_str.substr(0, 2) == "0x" ? _str.substr(2) : _str); + return fromHex(_str.substr(0, 2) == "0x" ? _str.substr(2) : _str, ThrowType::Throw); } bytes importData(json_spirit::mObject& _o) |