fix/cleanup qt rpcnestedtests

This commit is contained in:
UdjinM6 2019-01-21 16:13:36 +03:00 committed by Alexander Block
parent b970c20a96
commit b8d069bcdd

View File

@ -55,8 +55,6 @@ void RPCNestedTests::rpcNestedTests()
pcoinsdbview = new CCoinsViewDB(1 << 23, true);
deterministicMNManager = new CDeterministicMNManager(*evoDb);
llmq::InitLLMQSystem(*evoDb, nullptr);
pcoinsTip = new CCoinsViewCache(pcoinsdbview);
InitBlockIndex(chainparams);
{
@ -157,8 +155,10 @@ void RPCNestedTests::rpcNestedTests()
#endif
delete pcoinsTip;
delete deterministicMNManager;
delete pcoinsdbview;
delete pblocktree;
delete evoDb;
boost::filesystem::remove_all(boost::filesystem::path(path));
}