diff --git a/rpc/core/src/eth.rs b/rpc/core/src/eth.rs
index f7bdc4c295..305700e877 100644
--- a/rpc/core/src/eth.rs
+++ b/rpc/core/src/eth.rs
@@ -93,7 +93,7 @@ pub trait EthApi {
/// Returns the number of transactions in a block with given hash.
#[rpc(name = "eth_getBlockTransactionCountByHash")]
- fn block_transaction_count_by_hash(&self, _: H256) -> BoxFuture