Skip to content

Commit

Permalink
[mpm] Fix integration tests public_keys arguments (#3359)
Browse files Browse the repository at this point in the history
  • Loading branch information
jolestar authored Apr 22, 2022
1 parent 0203e79 commit 6ac5aab
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 6ac5aab

Please sign in to comment.