Fix an instance where we were reporting that the peer was on an unreachable blockchain when they really weren't
This commit is contained in:
parent
0046cc0698
commit
e9e3b0d679
1 changed files with 8 additions and 8 deletions
|
|
@ -624,7 +624,6 @@ namespace detail {
|
|||
elog("Unable to construct a blockchain synopsis for reference hash ${hash}: ${exception}", ("hash", reference_point)("exception", e));
|
||||
throw;
|
||||
}
|
||||
}
|
||||
if (non_fork_high_block_num < low_block_num)
|
||||
{
|
||||
wlog("Unable to generate a usable synopsis because the peer we're generating it for forked too long ago "
|
||||
|
|
@ -634,6 +633,7 @@ namespace detail {
|
|||
FC_THROW_EXCEPTION(graphene::net::block_older_than_undo_history, "Peer is are on a fork I'm unable to switch to");
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// no reference point specified, summarize the whole block chain
|
||||
|
|
|
|||
Loading…
Reference in a new issue