This repository was archived by the owner on Mar 11, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -306,8 +306,8 @@ pub fn multisig_signer_arg<'a, 'b>() -> Arg<'a> {
306
306
. value_name ( "MULTISIG_SIGNER" )
307
307
. takes_value ( true )
308
308
. multiple ( true )
309
- . min_values ( 0u64 )
310
- . max_values ( MAX_SIGNERS as u64 )
309
+ . min_values ( 0_usize )
310
+ . max_values ( MAX_SIGNERS )
311
311
. help ( MULTISIG_SIGNER_ARG . help )
312
312
}
313
313
@@ -1147,8 +1147,8 @@ pub fn app<'a, 'b>(
1147
1147
. takes_value ( true )
1148
1148
. index ( 2 )
1149
1149
. required ( true )
1150
- . min_values ( MIN_SIGNERS as u64 )
1151
- . max_values ( MAX_SIGNERS as u64 )
1150
+ . min_values ( MIN_SIGNERS )
1151
+ . max_values ( MAX_SIGNERS )
1152
1152
. help ( multisig_member_help) ,
1153
1153
)
1154
1154
. arg (
@@ -1337,7 +1337,7 @@ pub fn app<'a, 'b>(
1337
1337
. value_name ( "PUBKEY:ROLE" )
1338
1338
. takes_value ( true )
1339
1339
. multiple ( true )
1340
- . min_values ( 0u64 )
1340
+ . min_values ( 0_usize )
1341
1341
. help ( "Additional pubkey(s) required for a transfer hook and their \
1342
1342
role, in the format \" <PUBKEY>:<ROLE>\" . The role must be \
1343
1343
\" readonly\" , \" writable\" . \" readonly-signer\" , or \" writable-signer\" .\
@@ -2176,7 +2176,7 @@ pub fn app<'a, 'b>(
2176
2176
. value_name ( "ACCOUNT_ADDRESS" )
2177
2177
. takes_value ( true )
2178
2178
. multiple ( true )
2179
- . min_values ( 0u64 )
2179
+ . min_values ( 0_usize )
2180
2180
. help ( "The token accounts to withdraw from" )
2181
2181
)
2182
2182
. arg (
You can’t perform that action at this time.
0 commit comments