Fixed uncle details (#3299)
Former-commit-id: 297b84f4eb80db16a5c33966892b585e43590c11
This commit is contained in:
@@ -1222,8 +1222,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))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user