Skip to content

Commit

Permalink
[FOLD] Address rebase conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
bachase committed Jul 10, 2017
1 parent 7c10bd7 commit 5a98901
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ripple/consensus/Consensus.h
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,7 @@ Consensus<Adaptor>::startRound(
if (prevLedger.id() != prevLedgerID)
{
// try to acquire the correct one
if (auto newLedger = impl().acquireLedger(prevLedgerID))
if (auto newLedger = adaptor_.acquireLedger(prevLedgerID))
{
prevLedger = *newLedger;
}
Expand Down Expand Up @@ -1302,7 +1302,7 @@ Consensus<Adaptor>::updateOurPositions()
if (!result_->position.isBowOut())
adaptor_.relay(result_->set);

for (auto const& p : peerProposals_)
for (auto const& p : currPeerPositions_)
{
if (mode_.get() == ConsensusMode::proposing)
{
Expand All @@ -1313,7 +1313,7 @@ Consensus<Adaptor>::updateOurPositions()

// Share our new position if we are still participating this round
if (!result_->position.isBowOut() &&
(mode_ == ConsensusMode::proposing))
(mode_.get() == ConsensusMode::proposing))
adaptor_.propose(result_->position);
}
}
Expand Down

0 comments on commit 5a98901

Please sign in to comment.