• 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
decode_test.go 22.4 KB