uncle rlp in block view

This commit is contained in:
NikVolf
2016-07-01 16:33:37 +03:00
parent 7ad8599324
commit d4ff3e51e9
2 changed files with 6 additions and 1 deletions

View File

@@ -582,7 +582,7 @@ impl BlockChainClient for Client {
fn uncle(&self, id: UncleID) -> Option<Bytes> {
let index = id.position;
self.block(id.block).and_then(|block| BlockView::new(&block).uncle_at(index).and_then(|u| Some(u.rlp(Seal::With))))
self.block(id.block).and_then(|block| BlockView::new(&block).uncle_rlp_at(index))
}
fn transaction_receipt(&self, id: TransactionID) -> Option<LocalizedReceipt> {