Fix #259: Use the unsigned LEB128 impl from py-wasm

Reference: https://github.com/ethereum/py-wasm/blob/master/wasm/parsers/leb128.py
This commit is contained in:
mhchia
2019-08-26 20:35:17 +08:00
parent d59870ebbf
commit b6c8ab0dc9
3 changed files with 53 additions and 40 deletions

View File

@ -6,3 +6,7 @@ class ValidationError(BaseLibp2pError):
"""
Raised when something does not pass a validation check.
"""
class ParseError(BaseLibp2pError):
pass