From e5a7a674f9a31fa3f81c9b34a4f91b7fced3d949 Mon Sep 17 00:00:00 2001 From: arkpar Date: Tue, 10 Oct 2017 16:56:03 +0200 Subject: [PATCH] Get rid of blockchain test warnings --- ethcore/src/json_tests/chain.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ethcore/src/json_tests/chain.rs b/ethcore/src/json_tests/chain.rs index 9ae55f73d..61182f413 100644 --- a/ethcore/src/json_tests/chain.rs +++ b/ethcore/src/json_tests/chain.rs @@ -58,8 +58,10 @@ pub fn json_chain_test(json_data: &[u8]) -> Vec { { let db = Arc::new(::util::kvdb::in_memory(::db::NUM_COLUMNS.unwrap_or(0))); + let mut config = ClientConfig::default(); + config.history = 8; let client = Client::new( - ClientConfig::default(), + config, &spec, db, Arc::new(Miner::with_spec(&spec)),