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

Commit a248fb3

Browse files
committed
Require compute unit limit if price is set
1 parent e454ef4 commit a248fb3

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
@@ -668,6 +668,7 @@ pub fn app<'a, 'b>(
668668
.value_name("COMPUTE-UNIT-PRICE")
669669
.validator(is_parsable::<u64>)
670670
.help(COMPUTE_UNIT_PRICE_ARG.help)
671+
.requires(COMPUTE_UNIT_LIMIT_ARG.name)
671672
)
672673
.bench_subcommand()
673674
.subcommand(SubCommand::with_name(CommandName::CreateToken.into()).about("Create a new token")

0 commit comments

Comments
 (0)