Consensys / Consensys/ethjsonrpc

web3_sha3 not working under Python 2.7 on MacOS

Open
#37 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
160
Forks
100
PR merge metrics
No merged PRs in 30d

Description

Dear all,

i encountered some problem with the web3_sha3 rpc method on Mac OS with Python 2.7. Actually, line 150 in client.py does not reaturn a hex string starting with 0x. Since i assume that this is a Mac specific problem, otherwise other should have encountered it also, i would suggest to add something like:

if not data.startsWith('0x'):
data = '0x' + data

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.