From 9abeaf28593545646a6923590a08295e7db7db3e Mon Sep 17 00:00:00 2001 From: Marek Kotewicz Date: Tue, 10 Mar 2015 10:51:20 +0100 Subject: [PATCH] fixed eth_getBlockByNumber --- libweb3jsonrpc/WebThreeStubServerBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweb3jsonrpc/WebThreeStubServerBase.cpp b/libweb3jsonrpc/WebThreeStubServerBase.cpp index 19af946f4..6ba14a682 100644 --- a/libweb3jsonrpc/WebThreeStubServerBase.cpp +++ b/libweb3jsonrpc/WebThreeStubServerBase.cpp @@ -598,7 +598,7 @@ Json::Value WebThreeStubServerBase::eth_getBlockByNumber(string const& _blockNum return toJson(client()->blockInfo(hash), client()->transactions(hash)); } - return toJson(client()->blockInfo(hash)); + return toJson(client()->blockInfo(hash), client()->transactionHashes(hash)); } Json::Value WebThreeStubServerBase::eth_getTransactionByHash(string const& _transactionHash)