Get rid of blockchain test warnings
This commit is contained in:
parent
7234a7c630
commit
e5a7a674f9
@ -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)),
|
||||||
|
Loading…
Reference in New Issue
Block a user