Remove knowledge of tuple length from ledger value

Nothing should now care about the current tuple length - and hence the tuple length may be increased (for example to add a max_mod_date)
This commit is contained in:
Martin Sumner 2018-10-29 20:24:54 +00:00
parent 671b6e7f99
commit baa4466923
3 changed files with 19 additions and 20 deletions

View file

@ -612,7 +612,7 @@ accumulate_objects(FoldObjectsFun, InkerClone, Tag, DeferredFetch) ->
case leveled_codec:is_active(LK, V, Now) of
true ->
{SQN, _St, _MH, MD} =
leveled_codec:striphead_to_details(V),
leveled_codec:striphead_to_v1details(V),
{B, K} =
case leveled_codec:from_ledgerkey(LK) of
{B0, K0} ->