Fixed uncle details (#3299)

This commit is contained in:
Arkadiy Paronyan 2016-11-09 13:17:40 +01:00 committed by Gav Wood
parent b17ce6c9a5
commit 85ade4a2ec

View File

@ -1224,8 +1224,7 @@ impl BlockChainClient for Client {
fn uncle_extra_info(&self, id: UncleID) -> Option<BTreeMap<String, String>> { fn uncle_extra_info(&self, id: UncleID) -> Option<BTreeMap<String, String>> {
self.uncle(id) self.uncle(id)
.map(|block| BlockView::new(&block).header()) .map(|header| self.engine.extra_info(&decode(&header)))
.map(|header| self.engine.extra_info(&header))
} }
} }