Fails to encode 300602010002010001
dcousens opened this issue · comments
This is part of the canonical bitcoin test suite, and this module now fails since the latest patch.
Error: R value excessively padded
ping @fanatid, might need to revert your changes to encode
@dcousens decode
wasn't changed
> bip66.decode(new Buffer('300602010002010001', 'hex'))
Error: DER sequence length is invalid