Skip to content

Commit

Permalink
update argument to min_values and max_values to be type usize i…
Browse files Browse the repository at this point in the history
…nstead of `u64`
  • Loading branch information
samkim-crypto committed Sep 3, 2023
1 parent caa2b03 commit faffd61
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions token/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -277,8 +277,8 @@ pub fn multisig_signer_arg<'a>() -> Arg<'a> {
.value_name("MULTISIG_SIGNER")
.takes_value(true)
.multiple(true)
.min_values(0u64)
.max_values(MAX_SIGNERS as u64)
.min_values(0_usize)
.max_values(MAX_SIGNERS as usize)
.help(MULTISIG_SIGNER_ARG.help)
}

Expand Down Expand Up @@ -3186,8 +3186,8 @@ fn app<'a, 'b>(
.takes_value(true)
.index(2)
.required(true)
.min_values(MIN_SIGNERS as u64)
.max_values(MAX_SIGNERS as u64)
.min_values(MIN_SIGNERS as usize)
.max_values(MAX_SIGNERS as usize)
.help(multisig_member_help),
)
.arg(
Expand Down Expand Up @@ -4121,7 +4121,7 @@ fn app<'a, 'b>(
.value_name("ACCOUNT_ADDRESS")
.takes_value(true)
.multiple(true)
.min_values(0u64)
.min_values(0_usize)
.help("The token accounts to withdraw from")
)
.arg(
Expand Down

0 comments on commit faffd61

Please sign in to comment.