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)
|
to_value(&hashes)
|
||||||
},
|
},
|
||||||
PollFilter::PendingTransaction => {
|
PollFilter::PendingTransaction => {
|
||||||
// TODO: fix implementation
|
// TODO: fix implementation once TransactionQueue is merged
|
||||||
to_value(&vec![H256::default()])
|
to_value(&vec![] as &Vec<H256>)
|
||||||
},
|
},
|
||||||
PollFilter::Logs(mut filter) => {
|
PollFilter::Logs(mut filter) => {
|
||||||
filter.from_block = BlockId::Number(info.block_number);
|
filter.from_block = BlockId::Number(info.block_number);
|
||||||
|
Loading…
Reference in New Issue
Block a user