• Felix Lange's avatar
    rlp: fix check for canonical byte array size · 345590f2
    Felix Lange authored
    Decoding did not reject byte arrays of length one with a single element
    b where 55 < b < 128. Such byte arrays must be rejected because
    they must be encoded as the single byte b instead.
    345590f2
Name
Last commit
Last update
..
decode.go Loading commit data...
decode_test.go Loading commit data...
doc.go Loading commit data...
encode.go Loading commit data...
encode_test.go Loading commit data...
encoder_example_test.go Loading commit data...
typecache.go Loading commit data...