You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The conversion functions between AssociatedData and Vec<u8> only encode the data itself, but it's more misuse-resistant to encode the length prepended to the data. The encoding of the length can be a fixed size (see #470 for an upper bound).
Update the TryFrom and From methods to convert between the two types
At calling spots, remove any redundant length prepending
The text was updated successfully, but these errors were encountered:
The conversion functions between
AssociatedData
andVec<u8>
only encode the data itself, but it's more misuse-resistant to encode the length prepended to the data. The encoding of the length can be a fixed size (see #470 for an upper bound).TryFrom
andFrom
methods to convert between the two typesThe text was updated successfully, but these errors were encountered: