Restore blocks_hashes.insert (#1569)

Missed in https://github.com/nanocurrency/nano-node/pull/956
This commit is contained in:
Sergey Kroshnin 2019-01-10 19:55:35 +03:00 committed by Zach Hyatt
commit eaa8155c7a

View file

@ -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 ();
}