We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ec39e3 commit b4e79f3Copy full SHA for b4e79f3
src/Makefile.test.include
@@ -81,6 +81,7 @@ BITCOIN_TESTS =\
81
test/rpc_tests.cpp \
82
test/sanity_tests.cpp \
83
test/scheduler_tests.cpp \
84
+ test/script_tests.cpp \
85
test/script_p2sh_tests.cpp \
86
test/script_p2pk_tests.cpp \
87
test/script_p2pkh_tests.cpp \
src/test/base58_tests.cpp
@@ -12,18 +12,7 @@
12
13
#include <boost/test/unit_test.hpp>
14
15
-UniValue
16
-read_json(const std::string& jsondata)
17
-{
18
- UniValue v;
19
-
20
- if (!v.read(jsondata) || !v.isArray())
21
- {
22
- BOOST_ERROR("Parse error.");
23
- return UniValue(UniValue::VARR);
24
- }
25
- return v.get_array();
26
-}
+extern UniValue read_json(const std::string& jsondata);
27
28
BOOST_FIXTURE_TEST_SUITE(base58_tests, BasicTestingSetup)
29
0 commit comments