fixed PollFilter::PendingTransaction returning empty hash

This commit is contained in:
debris 2016-03-02 14:09:44 +01:00
parent 190468e1f8
commit b1a62575c9

View File

@ -323,8 +323,8 @@ impl EthFilter for EthFilterClient {
to_value(&hashes)
},
PollFilter::PendingTransaction => {
// TODO: fix implementation
to_value(&vec![H256::default()])
// TODO: fix implementation once TransactionQueue is merged
to_value(&vec![] as &Vec<H256>)
},
PollFilter::Logs(mut filter) => {
filter.from_block = BlockId::Number(info.block_number);