Skip to content

Commit

Permalink
[mpm] Fix integration tests public_keys arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar committed Apr 21, 2022
1 parent 4652f82 commit 2b67a15
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vm/starcoin-transactional-test-harness/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ pub struct ExtraInitArgs {
/// genesis with the network
network: Option<BuiltinNetworkID>,

#[clap(long = "public-keys", parse(try_from_str = parse_named_key))]
#[clap(long = "public-keys",
parse(try_from_str = parse_named_key),
takes_value(true),
multiple_values(true),
multiple_occurrences(true))]
public_keys: Option<Vec<(Identifier, Ed25519PublicKey)>>,
// #[clap(long = "private-keys", parse(try_from_str = parse_named_private_key))]
// private_keys: Option<Vec<(Identifier, Ed25519PrivateKey)>>,
Expand Down

0 comments on commit 2b67a15

Please sign in to comment.