Fixed uncle details (#3299)

Former-commit-id: 297b84f4eb80db16a5c33966892b585e43590c11
This commit is contained in:
Arkadiy Paronyan 2016-11-09 13:17:40 +01:00
parent 618cc072b9
commit 184b0f27e7

View File

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