Skip to content

Commit

Permalink
remove redundant Ballot creation
Browse files Browse the repository at this point in the history
remove redundant Ballot creation
  • Loading branch information
ult-bobonovski authored Sep 4, 2018
1 parent 551d1bd commit 280604b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/scp/BallotProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,6 @@ BallotProtocol::bumpState(Value const& value, bool force)
return false;
}

SCPBallot newb;

n = mCurrentBallot ? (mCurrentBallot->counter + 1) : 1;

return bumpState(value, n);
Expand Down

5 comments on commit 280604b

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from MonsieurNicolas
at ult-bobonovski@280604b

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging ult-bobonovski/stellar-core/patch-1 = 280604b into auto

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ult-bobonovski/stellar-core/patch-1 = 280604b merged ok, testing candidate = 1fc018b

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@latobarita
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 1fc018b

Please sign in to comment.