mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-05 17:56:49 +00:00
Merge branch 'develop' into ximinez/online-delete-gaps
This commit is contained in:
@@ -9,7 +9,7 @@ namespace test {
|
||||
|
||||
class LedgerMaster_test : public beast::unit_test::suite
|
||||
{
|
||||
std::unique_ptr<Config>
|
||||
static std::unique_ptr<Config>
|
||||
makeNetworkConfig(uint32_t networkID)
|
||||
{
|
||||
using namespace jtx;
|
||||
@@ -79,6 +79,7 @@ class LedgerMaster_test : public beast::unit_test::suite
|
||||
uint32_t txnIndex = metas[0]->getFieldU32(sfTransactionIndex);
|
||||
auto result = env.app().getLedgerMaster().txnIdFromIndex(startLegSeq, txnIndex);
|
||||
BEAST_EXPECT(
|
||||
// NOLINTNEXTLINE(bugprone-unchecked-optional-access)
|
||||
*result ==
|
||||
uint256(
|
||||
"277F4FD89C20B92457FEF05FF63F6405563AD0563C73D967A29727"
|
||||
@@ -89,6 +90,7 @@ class LedgerMaster_test : public beast::unit_test::suite
|
||||
uint32_t txnIndex = metas[1]->getFieldU32(sfTransactionIndex);
|
||||
auto result = env.app().getLedgerMaster().txnIdFromIndex(startLegSeq + 1, txnIndex);
|
||||
BEAST_EXPECT(
|
||||
// NOLINTNEXTLINE(bugprone-unchecked-optional-access)
|
||||
*result ==
|
||||
uint256(
|
||||
"293DF7335EBBAF4420D52E70ABF470EB4C5792CAEA2F91F76193C2"
|
||||
|
||||
Reference in New Issue
Block a user