fix compilation

This commit is contained in:
NikVolf 2016-10-13 15:07:21 +03:00
parent e3659e44f7
commit 030e2c2a19
2 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ extern crate primitives;
#[cfg(test)] extern crate ethcore_devtools as devtools;
mod kvdb;
mod storage;
pub type Bytes = Vec<u8>;

View File

@ -2,7 +2,7 @@
use kvdb::Database;
use primitives::hash::H256;
use super::BlockRef;
use super::{BlockRef, Bytes};
const COL_COUNT: u32 = 10;
const COL_META: u32 = 0;
@ -40,7 +40,7 @@ impl Store for Storage {
fn block_body(block_ref: BlockRef) -> Option<Bytes> { None }
fn block_transactions(block_ref: BlockRef) -> Vec<H256> { None }
fn block_transactions(block_ref: BlockRef) -> Vec<H256> { Vec::new() }
fn transaction(hash: H256) -> Option<Bytes> { None }
}