mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-25 08:00:18 +00:00
chore: Use libxrpl 3.2.0 (#3095)
This commit is contained in:
@@ -43,12 +43,12 @@ ExampleObjectsMigrator::runMigration(std::shared_ptr<Backend> const& backend, ut
|
||||
auto const jobsFullScan = config.get<std::uint32_t>("full_scan_jobs");
|
||||
auto const cursorPerJobsFullScan = config.get<std::uint32_t>("cursors_per_job");
|
||||
|
||||
std::unordered_set<ripple::uint256> idx;
|
||||
std::unordered_set<xrpl::uint256> idx;
|
||||
migration::cassandra::impl::ObjectsScanner scanner(
|
||||
{.ctxThreadsNum = ctxFullScanThreads, .jobsNum = jobsFullScan, .cursorsPerJob = cursorPerJobsFullScan},
|
||||
migration::cassandra::impl::ObjectsAdapter(backend, [&](std::uint32_t, std::optional<ripple::SLE> sle) {
|
||||
migration::cassandra::impl::ObjectsAdapter(backend, [&](std::uint32_t, std::optional<xrpl::SLE> sle) {
|
||||
if (sle.has_value()) {
|
||||
if (sle->getType() == ripple::ltACCOUNT_ROOT) {
|
||||
if (sle->getType() == xrpl::ltACCOUNT_ROOT) {
|
||||
if (!idx.contains(sle->key())) {
|
||||
ExampleObjectsMigrator::accountCount++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user