Browse Source

fixed eth_getBlockByNumber

cl-refactor
Marek Kotewicz 10 years ago
parent
commit
9abeaf2859
  1. 2
      libweb3jsonrpc/WebThreeStubServerBase.cpp

2
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), client()->transactions(hash));
} }
return toJson(client()->blockInfo(hash)); return toJson(client()->blockInfo(hash), client()->transactionHashes(hash));
} }
Json::Value WebThreeStubServerBase::eth_getTransactionByHash(string const& _transactionHash) Json::Value WebThreeStubServerBase::eth_getTransactionByHash(string const& _transactionHash)

Loading…
Cancel
Save