From 4374b7d08c524d8f63eb13899effbfcd28925e0a Mon Sep 17 00:00:00 2001 From: samkim-crypto Date: Mon, 4 Nov 2024 21:16:10 +0900 Subject: [PATCH] [token-cli] Parse compute unit limit with the proper name (#7449) parse compute unit limit with the proper name --- token/cli/src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/token/cli/src/config.rs b/token/cli/src/config.rs index 97fd435a952..adea54dbfb7 100644 --- a/token/cli/src/config.rs +++ b/token/cli/src/config.rs @@ -334,7 +334,7 @@ impl<'a> Config<'a> { .copied(); let compute_unit_limit = matches - .try_get_one::(COMPUTE_UNIT_PRICE_ARG.name) + .try_get_one::(COMPUTE_UNIT_LIMIT_ARG.name) .ok() .flatten() .copied()