tendermint/go-amino

Length prefix of encoding exceeds the maximum number of bye

Closed this issue · 0 comments

I tried to encode the transaction with javascript-amino and have the array with the length of encoding equal 450.So arr[0]=450 . When I send the array via network to cosmos decodeTx, thebytes[0]will be minus with the maximum of byte(255) the value of bytes[0] = 450 - 255 => wrong decoding in Cosmos. Could you please give me the suggestion ?
Thanks