fix crash occuring by successful transfered transactions

This commit is contained in:
einhornimmond 2021-04-14 11:32:43 +02:00
parent 279021eb8a
commit 8a6acd67f7

View File

@ -77,9 +77,9 @@ namespace model
{
result = parser.parse(temp);
}
catch (Poco::JSON::JSONException& jsone)
catch (Poco::JSON::JSONException& json)
{
return nullptr;
return new Poco::JSON::Object;
}
return result.extract<Poco::JSON::Object::Ptr>();