Missing use of extract_header

Spotted by ct test crossbucket_aae
This commit is contained in:
Martin Sumner 2018-10-30 14:06:17 +00:00
parent 75d2e2d546
commit bdd1762130

View file

@ -1709,8 +1709,7 @@ binaryslot_trimmedlist(FullBin, StartKey, EndKey,
{Acc, _Continue} = lists:foldl(BlockCheckFun, {[], true}, BlocksToCheck),
{Acc, none};
{{Header, _Blocks}, SegList} ->
BL = ?BLOCK_LENGTHS_LENGTH,
<<BlockLengths:BL/binary, BlockIdx/binary>> = Header,
{BlockLengths, _LMD, BlockIdx} = extract_header(Header, IdxModDate),
PosList = find_pos(BlockIdx, SegList, [], 0),
KVL = check_blocks(PosList,
FullBin,