Fixed uncle details (#3299)
This commit is contained in:
parent
b17ce6c9a5
commit
85ade4a2ec
@ -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))
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user