mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Add warnings for deposits (#1858)
## Issue Addressed NA ## Proposed Changes Add some warnings to discourage users to user Lighthouse for mainnet. ## Additional Info NA
This commit is contained in:
@@ -25,6 +25,8 @@ pub const STORE_WITHDRAW_FLAG: &str = "store-withdrawal-keystore";
|
||||
pub const COUNT_FLAG: &str = "count";
|
||||
pub const AT_MOST_FLAG: &str = "at-most";
|
||||
pub const WALLET_PASSWORD_PROMPT: &str = "Enter your wallet's password:";
|
||||
pub const MAINNET_WARNING: &str = "These are *not* mainnet validators! Submitting a mainnet \
|
||||
deposit for this validator will result in lost ETH.";
|
||||
|
||||
pub fn cli_app<'a, 'b>() -> App<'a, 'b> {
|
||||
App::new(CMD)
|
||||
@@ -229,6 +231,8 @@ pub fn cli_run<T: EthSpec>(
|
||||
.map_err(|e| format!("Unable to build validator directory: {:?}", e))?;
|
||||
|
||||
println!("{}/{}\t{}", i + 1, n, voting_pubkey.to_hex_string());
|
||||
|
||||
println!("{}", MAINNET_WARNING);
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user