fixed PollFilter::PendingTransaction returning empty hash
This commit is contained in:
parent
190468e1f8
commit
b1a62575c9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user