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:
parent
7ef720b76d
commit
76ae62596a
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue