diff --git a/TestHelper.cpp b/TestHelper.cpp index 128318b8c..b29c5dc3a 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -240,7 +240,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, ThrowType::Throw); + return fromHex(_str.substr(0, 2) == "0x" ? _str.substr(2) : _str, WhenError::Throw); } bytes importData(json_spirit::mObject& _o)