Fix tests.

This commit is contained in:
Gav Wood
2016-03-11 15:01:15 +01:00
parent 51cfd4b0ea
commit 5499f4530c
5 changed files with 8 additions and 8 deletions

View File

@@ -252,7 +252,7 @@ pub fn generate_dummy_empty_blockchain() -> GuardedTempResult<BlockChain> {
pub fn get_temp_journal_db() -> GuardedTempResult<Box<JournalDB>> {
let temp = RandomTempPath::new();
let journal_db = Box::new(OptionOneDB::new(temp.as_str()));
let journal_db: Box<JournalDB> = Box::new(OptionOneDB::new(temp.as_str()));
GuardedTempResult {
_temp: temp,
result: Some(journal_db)