mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
drk: script kiddies be gone
This commit is contained in:
@@ -486,6 +486,12 @@ impl Drk {
|
||||
endpoint: Url,
|
||||
ex: Arc<smol::Executor<'static>>,
|
||||
) -> Result<Self> {
|
||||
// Script kiddies protection
|
||||
if wallet_pass == "changeme" {
|
||||
eprintln!("Please don't use default wallet password...");
|
||||
exit(2);
|
||||
}
|
||||
|
||||
// Initialize wallet
|
||||
let wallet_path = expand_path(&wallet_path)?;
|
||||
if !wallet_path.exists() {
|
||||
|
||||
Reference in New Issue
Block a user