Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing RPC block_create test #814

Merged
merged 1 commit into from Apr 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 0 additions & 8 deletions rai/core_test/rpc.cpp
Expand Up @@ -3124,14 +3124,6 @@ TEST (rpc, block_create)
rai::change_block change (open.hash (), key.pub, key.prv, key.pub, change_work);
request1.put ("type", "change");
request1.put ("work", rai::to_string_hex (change_work));
test_response response3 (request1, rpc, system.service);
while (response3.status == 0)
{
system.poll ();
}
ASSERT_EQ (200, response3.status);
ASSERT_FALSE (response3.json.get<std::string> ("error").empty ()); // error with missing previous block
request1.put ("previous", open.hash ().to_string ());
test_response response4 (request1, rpc, system.service);
while (response4.status == 0)
{
Expand Down