Skip to content

Commit

Permalink
Merge pull request #1779 from ult-bobonovski/patch-1
Browse files Browse the repository at this point in the history
remove redundant Ballot creation

Reviewed-by: MonsieurNicolas
  • Loading branch information
latobarita authored Sep 5, 2018
2 parents 50d0d00 + 280604b commit 1fc018b
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

0 comments on commit 1fc018b

Please sign in to comment.