corr univalue init

This commit is contained in:
dimxy
2019-04-07 23:02:28 +05:00
parent 1a9ed2ac48
commit b4b55290a2

View File

@@ -5861,7 +5861,7 @@ void f(UniValue *p1, UniValue *p2) {
UniValue tokenaddress(const UniValue& params, bool fHelp)
{
UniValue v1, v2;
UniValue v1(UniValue::VARR), v2(UniValue::VARR);
f(&v1, &v2);
std::cerr << v1.getValues()[0].get_str() << std::endl;