From ca740a924bc06a9f8eac4c3950f1419857d56c08 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Fri, 20 Mar 2015 16:47:54 +0100 Subject: [PATCH] Minor rename. Report errors properly. --- TestHelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)