mirror of
https://github.com/monero-project/monero.git
synced 2025-01-28 18:56:31 +02:00
blockchain: match original code's error return in switch_to_alternative_blockchain
This commit is contained in:
parent
a33dcdd400
commit
5e3d56d6e3
@ -797,8 +797,8 @@ bool Blockchain::switch_to_alternative_blockchain(std::list<blocks_ext_by_hash::
|
||||
if(!r)
|
||||
{
|
||||
LOG_PRINT_L1("Failed to push ex-main chain blocks to alternative chain ");
|
||||
// previously this would fail the blockchain switching, but I don't
|
||||
// think this is bad enough to warrant that.
|
||||
rollback_blockchain_switching(disconnected_chain, split_height);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user