renamed kvdb_memorydb::in_memory -> kvdb_memorydb::create

This commit is contained in:
debris
2017-10-15 16:17:15 +02:00
parent d88ec35a6a
commit 616cafb04a
21 changed files with 53 additions and 53 deletions

View File

@@ -291,7 +291,7 @@ impl TestNet<EthPeer<EthcoreClient>> {
let client = EthcoreClient::new(
ClientConfig::default(),
&spec,
Arc::new(::kvdb_memorydb::in_memory(::ethcore::db::NUM_COLUMNS.unwrap_or(0))),
Arc::new(::kvdb_memorydb::create(::ethcore::db::NUM_COLUMNS.unwrap_or(0))),
Arc::new(Miner::with_spec_and_accounts(&spec, accounts)),
IoChannel::disconnected(),
).unwrap();