This commit is contained in:
jl777
2018-04-12 21:06:11 +03:00
parent fce64b22d6
commit e0196ded31

View File

@@ -310,7 +310,7 @@ const std::string& UniValue::get_str() const
{ {
if (typ != VSTR) if (typ != VSTR)
{ {
fprintf(stderr,"typ.%d VSTR %d\n",(int32_t)typ,(int32_t)VSTR); //fprintf(stderr,"typ.%d VSTR %d\n",(int32_t)typ,(int32_t)VSTR);
throw std::runtime_error("JSON value is not a string as expected"); throw std::runtime_error("JSON value is not a string as expected");
} }
return getValStr(); return getValStr();