mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Fix tests for windows
This commit is contained in:
@@ -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()),
|
||||||
|
|||||||
Reference in New Issue
Block a user