Work check is inverted.
This commit is contained in:
parent
fc4e2d3671
commit
ee1edea4c8
1 changed files with 1 additions and 1 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue