diff --git a/sync/src/tests/helpers.rs b/sync/src/tests/helpers.rs index 7cb1b3c53..0b2d5ea18 100644 --- a/sync/src/tests/helpers.rs +++ b/sync/src/tests/helpers.rs @@ -22,6 +22,7 @@ use ethcore::error::*; use io::SyncIo; use chain::{ChainSync}; use ethcore::receipt::Receipt; +use ethcore::transaction::LocalizedTransaction; pub struct TestBlockChainClient { pub blocks: RwLock>, @@ -86,6 +87,10 @@ impl BlockChainClient for TestBlockChainClient { unimplemented!(); } + fn transaction(&self, hash: &H256) -> Option { + unimplemented!(); + } + fn block_header(&self, h: &H256) -> Option { self.blocks.read().unwrap().get(h).map(|r| Rlp::new(r).at(0).as_raw().to_vec()) }