Skip to content

Commit

Permalink
Disable double vote request for forks
Browse files Browse the repository at this point in the history
#803
cover this case
  • Loading branch information
SergiySW authored and clemahieu committed Aug 5, 2018
1 parent 4b546c6 commit d1699c8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions rai/node/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3652,10 +3652,6 @@ void rai::active_transactions::announce_votes ()
{
// broadcast_confirm_req_base modifies reps, so we clone it once to avoid aliasing
node.network.broadcast_confirm_req_base (i->confirm_req_options.first, std::make_shared<std::vector<rai::peer_information>> (*reps), 0);
if (i->confirm_req_options.second)
{
node.network.broadcast_confirm_req_base (i->confirm_req_options.second, reps, 0);
}
}
else
{
Expand Down

0 comments on commit d1699c8

Please sign in to comment.