From d1d3d847ab431ced381fc42ff15867ab18b7264b Mon Sep 17 00:00:00 2001 From: debris Date: Thu, 7 Apr 2016 00:33:55 +0200 Subject: [PATCH] fixed #895 --- rpc/src/v1/traits/eth.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/rpc/src/v1/traits/eth.rs b/rpc/src/v1/traits/eth.rs index 8a48e0dfe..5d36da670 100644 --- a/rpc/src/v1/traits/eth.rs +++ b/rpc/src/v1/traits/eth.rs @@ -190,9 +190,6 @@ pub trait EthFilter: Sized + Send + Sync + 'static { /// Returns filter changes since last poll. fn filter_changes(&self, _: Params) -> Result { rpc_unimplemented!() } - /// Returns filter logs. - fn filter_logs(&self, _: Params) -> Result { rpc_unimplemented!() } - /// Uninstalls filter. fn uninstall_filter(&self, _: Params) -> Result { rpc_unimplemented!() } @@ -203,7 +200,7 @@ pub trait EthFilter: Sized + Send + Sync + 'static { delegate.add_method("eth_newBlockFilter", EthFilter::new_block_filter); delegate.add_method("eth_newPendingTransactionFilter", EthFilter::new_pending_transaction_filter); delegate.add_method("eth_getFilterChanges", EthFilter::filter_changes); - delegate.add_method("eth_getFilterLogs", EthFilter::filter_logs); + delegate.add_method("eth_getFilterLogs", EthFilter::filter_changes); delegate.add_method("eth_uninstallFilter", EthFilter::uninstall_filter); delegate }