Get rid of blockchain test warnings

This commit is contained in:
arkpar 2017-10-10 16:56:03 +02:00
parent 7234a7c630
commit e5a7a674f9
No known key found for this signature in database
GPG Key ID: CF9ADE6B115EB4DD

View File

@ -58,8 +58,10 @@ pub fn json_chain_test(json_data: &[u8]) -> Vec<String> {
{ {
let db = Arc::new(::util::kvdb::in_memory(::db::NUM_COLUMNS.unwrap_or(0))); 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( let client = Client::new(
ClientConfig::default(), config,
&spec, &spec,
db, db,
Arc::new(Miner::with_spec(&spec)), Arc::new(Miner::with_spec(&spec)),