fixed pending transaction mock implementation
This commit is contained in:
parent
5f97d51967
commit
05897ddbb0
@ -280,7 +280,7 @@ impl EthFilter for EthFilterClient {
|
|||||||
},
|
},
|
||||||
PollFilter::PendingTransaction => {
|
PollFilter::PendingTransaction => {
|
||||||
// TODO: fix implementation
|
// TODO: fix implementation
|
||||||
to_value(&client.chain_info().best_block_hash).map(|v| Value::Array(vec![v]))
|
to_value(&vec![H256::default()])
|
||||||
},
|
},
|
||||||
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