fix compilation
This commit is contained in:
parent
e3659e44f7
commit
030e2c2a19
|
@ -8,6 +8,7 @@ extern crate primitives;
|
|||
#[cfg(test)] extern crate ethcore_devtools as devtools;
|
||||
|
||||
mod kvdb;
|
||||
mod storage;
|
||||
|
||||
pub type Bytes = Vec<u8>;
|
||||
|
||||
|
|
|
@ -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 }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue