Closed qubez closed 9 years ago
Commit 32c454c85bac93e135b9afbe8fcc11d02520d403 (pep8) made a big bug.
code_strings = { 2: '01', 10: '012356789', 16: '0123456789abcdef',
the 4 is missing in base10, causing incorrect encoding and decoding.
bitcoin.decode('444',10) -111 bitcoin.decode('555',10) 444
Fixed.
Commit 32c454c85bac93e135b9afbe8fcc11d02520d403 (pep8) made a big bug.
code_strings = { 2: '01', 10: '012356789', 16: '0123456789abcdef',
the 4 is missing in base10, causing incorrect encoding and decoding.