Skip to content

Commit

Permalink
Restore blocks_hashes.insert (#1569)
Browse files Browse the repository at this point in the history
Missed in #956
  • Loading branch information
SergiySW authored and zhyatt committed Jan 10, 2019
1 parent 7335442 commit eaa8155
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nano/node/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1237,6 +1237,7 @@ void nano::block_processor::add (std::shared_ptr<nano::block> block_a, std::chro
{
blocks.push_back (std::make_pair (block_a, origination));
}
blocks_hashes.insert (block_a->hash ());
}
condition.notify_all ();
}
Expand Down

0 comments on commit eaa8155

Please sign in to comment.