From faffd6160afed4674c7bed52572e63ebf88716d1 Mon Sep 17 00:00:00 2001 From: Sam Kim Date: Thu, 8 Jun 2023 09:49:10 +0900 Subject: [PATCH] update argument to `min_values` and `max_values` to be type `usize` instead of `u64` --- token/cli/src/main.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/token/cli/src/main.rs b/token/cli/src/main.rs index b7003e4616c..2df8f5d27ed 100644 --- a/token/cli/src/main.rs +++ b/token/cli/src/main.rs @@ -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) } @@ -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( @@ -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(