Fix tests for windows

This commit is contained in:
Paul Hauner
2022-08-25 11:46:58 +10:00
parent 7f89f1efa7
commit e5476cd6b7

View File

@@ -121,7 +121,7 @@ pub fn validator_create_defaults() {
count: 1, count: 1,
deposit_gwei: MainnetEthSpec::default_spec().max_effective_balance, deposit_gwei: MainnetEthSpec::default_spec().max_effective_balance,
mnemonic_path: None, mnemonic_path: None,
stdin_inputs: false, stdin_inputs: cfg!(windows) || false,
disable_deposits: false, disable_deposits: false,
specify_voting_keystore_password: false, specify_voting_keystore_password: false,
eth1_withdrawal_address: None, eth1_withdrawal_address: None,
@@ -156,7 +156,7 @@ pub fn validator_create_misc_flags() {
count: 9, count: 9,
deposit_gwei: 42, deposit_gwei: 42,
mnemonic_path: Some(PathBuf::from("./woof")), mnemonic_path: Some(PathBuf::from("./woof")),
stdin_inputs: true, stdin_inputs: cfg!(windows) || true,
disable_deposits: false, disable_deposits: false,
specify_voting_keystore_password: true, specify_voting_keystore_password: true,
eth1_withdrawal_address: Some(Address::from_str(EXAMPLE_ETH1_ADDRESS).unwrap()), eth1_withdrawal_address: Some(Address::from_str(EXAMPLE_ETH1_ADDRESS).unwrap()),