LiskArchive/lips

LIP 0031: Statement about decoding indices is misleading

Closed this issue · 0 comments

In the section Proof Serialization of LIP 0031, it currently says for the idxs property:

At the moment of decoding, each index is converted from unsigned integer to binary, the first bit (which equals 1) is dropped and only the following bits are kept.

This is misleading, because dropping the most significant bit is not (necessarily) done when decoding an object against the proof schema defined in LIP 0031. In the SDK, the most significant bit is dropped in the function getLocation.

This formulation should be improved.

Affected LIPs

0031