Fixed uncle details (#3299)
Former-commit-id: 297b84f4eb80db16a5c33966892b585e43590c11
This commit is contained in:
parent
618cc072b9
commit
184b0f27e7
@ -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))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user