mirror of
https://github.com/XRPLF/rippled.git
synced 2026-07-29 18:10:34 +00:00
Merge branch 'develop' of https://github.com/XRPLF/rippled into xrplf/sponsor
This commit is contained in:
@@ -307,9 +307,8 @@ struct BalanceTransfer
|
||||
[[nodiscard]] bool
|
||||
payeesReceived(STAmount const& reward) const
|
||||
{
|
||||
return std::all_of(rewardAccounts.begin(), rewardAccounts.end(), [&](balance const& b) {
|
||||
return b.diff() == reward;
|
||||
});
|
||||
return std::ranges::all_of(
|
||||
rewardAccounts, [&](balance const& b) { return b.diff() == reward; });
|
||||
}
|
||||
|
||||
bool
|
||||
@@ -2165,14 +2164,7 @@ struct XChain_test : public beast::unit_test::Suite, public jtx::XChainBridgeObj
|
||||
scAttester, jvb, mcAlice, amt, payees[i], true, claimID, dst, signers[i]);
|
||||
|
||||
TER const expectedTER = i < quorum ? tesSUCCESS : TER{tecXCHAIN_NO_CLAIM_ID};
|
||||
if (i + 1 == quorum)
|
||||
{
|
||||
scEnv.tx(att, Ter(expectedTER)).close();
|
||||
}
|
||||
else
|
||||
{
|
||||
scEnv.tx(att, Ter(expectedTER)).close();
|
||||
}
|
||||
scEnv.tx(att, Ter(expectedTER)).close();
|
||||
|
||||
if (i + 1 < quorum)
|
||||
{
|
||||
@@ -4376,6 +4368,7 @@ public:
|
||||
{
|
||||
using namespace jtx;
|
||||
uint64_t time = 0;
|
||||
// NOLINTNEXTLINE(bugprone-random-generator-seed): fixed seed for reproducible test
|
||||
std::mt19937 gen(27); // Standard mersenne_twister_engine
|
||||
std::uniform_int_distribution<uint32_t> distrib(0, 9);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user