Skip to content
This repository was archived by the owner on Aug 8, 2018. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ docs/_build

# virtualenv
.venv

/rpc-tests
2 changes: 0 additions & 2 deletions pyethapp/jsonrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ def quantity_decoder(data):
success = False
elif not data.startswith('0x'):
success = False # must start with 0x prefix
elif len(data) > 3 and data[2] == '0':
success = False # must not have leading zeros (except `0x0`)
else:
data = data[2:]
# ensure even length
Expand Down