summaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2018-10-13 21:10:23 -0400
committerAaron Hill <aa1ronham@gmail.com>2018-10-17 21:19:09 -0400
commit7b0475942bc492acd76e4c3e6d332c735be2ff4f (patch)
treedc8fdb61867cf20bc65925ce0afd0afa88cc3b60 /src/config
parenteb7698ad14432d9df8dab7183869b9802c77f172 (diff)
downloadroughenough-7b0475942bc492acd76e4c3e6d332c735be2ff4f.zip
Fixups for fuzzing
Diffstat (limited to 'src/config')
-rw-r--r--src/config/environment.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/config/environment.rs b/src/config/environment.rs
index 2385b28..b618896 100644
--- a/src/config/environment.rs
+++ b/src/config/environment.rs
@@ -55,9 +55,9 @@ const ROUGHENOUGH_KEY_PROTECTION: &str = "ROUGHENOUGH_KEY_PROTECTION";
impl EnvironmentConfig {
pub fn new() -> Result<Self, Error> {
let mut cfg = EnvironmentConfig {
- port: 0,
- interface: "".to_string(),
- seed: Vec::new(),
+ port: 8686,
+ interface: "127.0.0.1".to_string(),
+ seed: hex::decode("a32049da0ffde0ded92ce10a0230d35fe615ec8461c14986baa63fe3b3bac3db").unwrap(),
batch_size: DEFAULT_BATCH_SIZE,
status_interval: DEFAULT_STATUS_INTERVAL,
key_protection: KeyProtection::Plaintext,