Hopefully fix rpc.work_get

This commit is contained in:
Lee Bousfield 2018-07-18 13:03:10 -06:00
commit 78f22bbb50

View file

@ -2664,6 +2664,7 @@ TEST (rpc, work_get)
{
rai::system system (24000, 1);
system.wallet (0)->insert_adhoc (rai::test_genesis_key.prv);
system.wallet (0)->work_cache_blocking (rai::test_genesis_key.pub, system.nodes[0]->latest (rai::test_genesis_key.pub));
rai::rpc rpc (system.service, *system.nodes[0], rai::rpc_config (true));
rpc.start ();
boost::property_tree::ptree request;