Skip to content

Commit

Permalink
[CLI] fix sui keytool zk-login-sign-and-execute-tx command, should …
Browse files Browse the repository at this point in the history
…set the default value of `--test-multisig` to `false`, because it cannot be set to `false` in the command line. So current the generated zkLogin addresses will always be multisig address, and it is not possible to be single-sig address anymore
  • Loading branch information
howtosui committed May 30, 2024
1 parent d160a8e commit 6cedd7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/sui/src/keytool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ pub enum KeyToolCommand {
network: String,
#[clap(long, default_value = "true")]
fixed: bool, // if true, use a fixed kp generated from [0; 32] seed.
#[clap(long, default_value = "true")]
#[clap(long, default_value = "false")]
test_multisig: bool, // if true, use a multisig address with zklogin and a traditional kp.
#[clap(long, default_value = "false")]
sign_with_sk: bool, // if true, execute tx with the traditional sig (in the multisig), otherwise with the zklogin sig.
Expand Down

0 comments on commit 6cedd7c

Please sign in to comment.