ethereum / aleth

Aleth – Ethereum C++ client, tools and libraries
GNU General Public License v3.0
3.96k stars 2.18k forks source link

jsonrpcproxy.py resulting in wrong response #5902

Open prashanthbabu07 opened 4 years ago

prashanthbabu07 commented 4 years ago

The jsonrpcproxy is returning wrong results.

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_protocolVersion","params":[],"id":1}' http://0.0.0.0:1234 Result - {"id":5,"jsonrpc":"2.0","result":["0xfce988f79e69923752655bad9ac63608fc86e321"]}

Basically the proxy is returning data for the previous request.