Merge branch 'master' into new-jsonrpc

This commit is contained in:
Tomasz Drwięga
2017-03-21 09:35:50 +01:00
70 changed files with 859 additions and 848 deletions

View File

@@ -79,7 +79,7 @@ impl IpfsHandler {
fn block_list(&self, hash: H256) -> Result<Out> {
let uncles = self.client().find_uncles(&hash).ok_or(Error::BlockNotFound)?;
Ok(Out::OctetStream(rlp::encode(&uncles).to_vec()))
Ok(Out::OctetStream(rlp::encode_list(&uncles).to_vec()))
}
/// Get transaction by hash and return as raw binary.