mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #1123
0d036be
blockchain: do not reject chain histories matching only genesis (moneromooo-monero)
This commit is contained in:
commit
895d20f901
1 changed files with 0 additions and 8 deletions
|
@ -1830,14 +1830,6 @@ bool Blockchain::find_blockchain_supplement(const std::list<crypto::hash>& qbloc
|
|||
return false;
|
||||
}
|
||||
|
||||
// if split_height remains 0, we didn't have any but the genesis block in common
|
||||
// which is only fine if the blocks just have the genesis block
|
||||
if(split_height == 0 && qblock_ids.size() > 1)
|
||||
{
|
||||
LOG_ERROR("Ours and foreign blockchain have only genesis block in common... o.O");
|
||||
return false;
|
||||
}
|
||||
|
||||
//we start to put block ids INCLUDING last known id, just to make other side be sure
|
||||
starter_offset = split_height;
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue