Fix NPE in rpc_wallet_tests
This commit is contained in:
@@ -17,11 +17,17 @@ struct BasicTestingSetup {
|
||||
~BasicTestingSetup();
|
||||
};
|
||||
|
||||
// Setup w.r.t. zk-SNARK API
|
||||
struct JoinSplitTestingSetup: public BasicTestingSetup {
|
||||
JoinSplitTestingSetup();
|
||||
~JoinSplitTestingSetup();
|
||||
};
|
||||
|
||||
/** Testing setup that configures a complete environment.
|
||||
* Included are data directory, coins database, script check threads
|
||||
* and wallet (if enabled) setup.
|
||||
*/
|
||||
struct TestingSetup: public BasicTestingSetup {
|
||||
struct TestingSetup: public JoinSplitTestingSetup {
|
||||
CCoinsViewDB *pcoinsdbview;
|
||||
boost::filesystem::path pathTemp;
|
||||
boost::thread_group threadGroup;
|
||||
@@ -30,10 +36,4 @@ struct TestingSetup: public BasicTestingSetup {
|
||||
~TestingSetup();
|
||||
};
|
||||
|
||||
// Setup w.r.t. zk-SNARK API
|
||||
struct JoinSplitTestingSetup: public BasicTestingSetup {
|
||||
JoinSplitTestingSetup();
|
||||
~JoinSplitTestingSetup();
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user