From 818807a5dc5e3176bb27b6d26fbb92ce4afa97a7 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 31 Jul 2024 14:16:47 -0400 Subject: [PATCH] v1.18: ledger-tool: Set initial last full snapshot slot (backport of #2314) (#2342) ledger-tool: Set initial last full snapshot slot (#2314) (cherry picked from commit 75a640e666dc7d4528588746141cef2e4898134f) Co-authored-by: Brooks --- ledger-tool/src/ledger_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledger-tool/src/ledger_utils.rs b/ledger-tool/src/ledger_utils.rs index 82797146d3a408..eaf2f2277cd599 100644 --- a/ledger-tool/src/ledger_utils.rs +++ b/ledger-tool/src/ledger_utils.rs @@ -353,7 +353,7 @@ pub fn load_and_process_ledger( exit.clone(), abs_request_handler, process_options.accounts_db_test_hash_calculation, - None, + starting_snapshot_hashes.map(|x| x.full.0 .0), ); let enable_rpc_transaction_history = arg_matches.is_present("enable_rpc_transaction_history");