Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Commit

Permalink
Fixed uncle details (#3299)
Browse files Browse the repository at this point in the history
  • Loading branch information
arkpar committed Nov 9, 2016
1 parent fddd955 commit a38428f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ethcore/src/client/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)))
}
}

Expand Down

0 comments on commit a38428f

Please sign in to comment.