LocalizedReceipt

This commit is contained in:
debris
2016-03-20 17:29:39 +01:00
parent f1f421af76
commit 2a3e695f8a
8 changed files with 115 additions and 8 deletions

View File

@@ -293,6 +293,12 @@ impl<C, S, A, M, EM> Eth for EthClient<C, S, A, M, EM>
.and_then(|(number, index)| self.transaction(TransactionId::Location(number.into(), index.value())))
}
fn transaction_receipt(&self, params: Params) -> Result<Value, Error> {
unimplemented!();
//from_params::<(H256,)>(params)
//.and_then(|(hash,)| self.transaction_receipt(TransactionId::Hash(hash)))
}
fn uncle_by_block_hash_and_index(&self, params: Params) -> Result<Value, Error> {
from_params::<(H256, Index)>(params)
.and_then(|(hash, index)| self.uncle(BlockId::Hash(hash), index.value()))