Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 08b78be

Browse files
committed
Require compute unit limit if price is set
1 parent 27fe1e9 commit 08b78be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

token/cli/src/clap_app.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,7 @@ pub fn app<'a, 'b>(
670670
.value_name("COMPUTE-UNIT-PRICE")
671671
.validator(is_parsable::<u64>)
672672
.help(COMPUTE_UNIT_PRICE_ARG.help)
673+
.requires(COMPUTE_UNIT_LIMIT_ARG.name)
673674
)
674675
.bench_subcommand()
675676
.subcommand(SubCommand::with_name(CommandName::CreateToken.into()).about("Create a new token")

0 commit comments

Comments
 (0)