Hopefully fix rpc.work_get
This commit is contained in:
parent
a87773e801
commit
78f22bbb50
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue