Only send one confirm_req instead of both. Since v11 nodes have responded with the block they have for the root associated with the block so both aren't needed.

This commit is contained in:
clemahieu 2018-05-21 16:07:20 -05:00
commit 5ceacb949a

View file

@ -909,7 +909,6 @@ void rai::bootstrap_attempt::process_fork (MDB_txn * transaction_a, std::shared_
{
BOOST_LOG (node->log) << boost::str (boost::format ("Resolving fork between our block: %1% and block %2% both with root %3%") % ledger_block->hash ().to_string () % block_a->hash ().to_string () % block_a->root ().to_string ());
node->network.broadcast_confirm_req (ledger_block);
node->network.broadcast_confirm_req (block_a);
}
}
}