From 85ade4a2ec60c94c804cb8b6bee46d041eb8ea4b Mon Sep 17 00:00:00 2001 From: Arkadiy Paronyan Date: Wed, 9 Nov 2016 13:17:40 +0100 Subject: [PATCH] Fixed uncle details (#3299) --- ethcore/src/client/client.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ethcore/src/client/client.rs b/ethcore/src/client/client.rs index b1a70454d..ec59e01cf 100644 --- a/ethcore/src/client/client.rs +++ b/ethcore/src/client/client.rs @@ -1224,8 +1224,7 @@ impl BlockChainClient for Client { fn uncle_extra_info(&self, id: UncleID) -> Option> { self.uncle(id) - .map(|block| BlockView::new(&block).header()) - .map(|header| self.engine.extra_info(&header)) + .map(|header| self.engine.extra_info(&decode(&header))) } }