From e5e33826a7fd097fbf08e1de4746fa3bcaed820d Mon Sep 17 00:00:00 2001 From: debris Date: Mon, 8 Feb 2016 16:07:38 +0100 Subject: [PATCH] fixed failin ethsync test --- sync/src/tests/helpers.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sync/src/tests/helpers.rs b/sync/src/tests/helpers.rs index a5a60d62d..ee052ed5a 100644 --- a/sync/src/tests/helpers.rs +++ b/sync/src/tests/helpers.rs @@ -76,6 +76,10 @@ impl BlockChainClient for TestBlockChainClient { unimplemented!(); } + fn code(&self, _address: &Address) -> 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())