Work check is inverted.

This commit is contained in:
clemahieu 2016-04-01 10:37:53 -05:00
commit ee1edea4c8

View file

@ -1690,7 +1690,7 @@ void success (boost::iterator_range <char const *> const & range, std::string co
uint64_t work;
if (!rai::from_string_hex (work_text, work))
{
if (node->work.work_validate (root, work))
if (!node->work.work_validate (root, work))
{
set_once (work);
stop ();