From a3c606d3038986187b19a28f7138d325fb2b54fc Mon Sep 17 00:00:00 2001 From: yeastplume Date: Fri, 13 Apr 2018 15:25:05 +0100 Subject: [PATCH] text config fix --- servers/tests/stratum.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/tests/stratum.rs b/servers/tests/stratum.rs index 0522e1af6..ed54df17d 100644 --- a/servers/tests/stratum.rs +++ b/servers/tests/stratum.rs @@ -58,7 +58,7 @@ fn basic_stratum_server() { let mut miner_cfg = miner_config(); miner_cfg.enable_mining = false; miner_cfg.attempt_time_per_block = 999; - miner_cfg.enable_stratum_server = true; + miner_cfg.enable_stratum_server = Some(true); miner_cfg.stratum_server_addr = Some(String::from("127.0.0.1:11101")); // Start stratum server