aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/rpc_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rpc_tests.cpp b/src/test/rpc_tests.cpp
index cbbecf08ef..991763abaf 100644
--- a/src/test/rpc_tests.cpp
+++ b/src/test/rpc_tests.cpp
@@ -123,8 +123,8 @@ BOOST_AUTO_TEST_CASE(rpc_format_monetary_values)
static Value ValueFromString(const std::string &str)
{
- Value value;
- BOOST_CHECK(value.read(str));
+ UniValue value;
+ BOOST_CHECK(value.setNumStr(str));
return value;
}