diff --git a/src/test/consensus/ConsensusRng_test.cpp b/src/test/consensus/ConsensusRng_test.cpp index 56f65a434..2e843ec4e 100644 --- a/src/test/consensus/ConsensusRng_test.cpp +++ b/src/test/consensus/ConsensusRng_test.cpp @@ -318,7 +318,7 @@ public: observer->ce().likelyParticipants_.count(validator->id) == 1); observer->ce().pendingCommits_[validator->id] = sha512Half(42u); - BEAST_EXPECT(observer->hasQuorumOfCommits()); + BEAST_EXPECT(observer->ce().hasQuorumOfCommits()); } void diff --git a/src/test/csf/Peer.h b/src/test/csf/Peer.h index 3a498706f..249c4a793 100644 --- a/src/test/csf/Peer.h +++ b/src/test/csf/Peer.h @@ -1071,7 +1071,7 @@ struct Peer const bool consensusFail = result.state == ConsensusState::MovedOn; auto const seq = static_cast(prevLedger.seq()) + 1; - finalizeRoundEntropy(seq); + ce().finalizeRoundEntropy(seq); TxSet const acceptedTxs = injectTxs(prevLedger, result.txns); Ledger const newLedger = oracle.accept( @@ -1174,20 +1174,6 @@ struct Peer return consensusParms; } - // --- RNG: forwarded to ce() for test access --- - - void - finalizeRoundEntropy(std::uint32_t seq) - { - ce().finalizeRoundEntropy(seq); - } - - bool - hasQuorumOfCommits() const - { - return ce().hasQuorumOfCommits(); - } - // Not interested in tracking consensus mode changes for now void onModeChange(ConsensusMode, ConsensusMode)