ledger-tool: Fix argument matching for accounts_db_ancient_append_vecs (#29976)

The logic was searching for argument in global argument matches when it
should have been searching in the subcommand matches.
This commit is contained in:
steviez 2023-01-30 10:56:07 -06:00 committed by GitHub
parent 7ef720b76d
commit 76ae62596a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2746,7 +2746,7 @@ fn main() {
),
filler_accounts_config,
ancient_append_vec_offset: value_t!(
matches,
arg_matches,
"accounts_db_ancient_append_vecs",
i64
)
@ -3011,7 +3011,7 @@ fn main() {
let accounts_db_config = Some(AccountsDbConfig {
ancient_append_vec_offset: value_t!(
matches,
arg_matches,
"accounts_db_ancient_append_vecs",
i64
)