Missing use of extract_header
Spotted by ct test crossbucket_aae
This commit is contained in:
parent
75d2e2d546
commit
bdd1762130
1 changed files with 1 additions and 2 deletions
|
@ -1709,8 +1709,7 @@ binaryslot_trimmedlist(FullBin, StartKey, EndKey,
|
||||||
{Acc, _Continue} = lists:foldl(BlockCheckFun, {[], true}, BlocksToCheck),
|
{Acc, _Continue} = lists:foldl(BlockCheckFun, {[], true}, BlocksToCheck),
|
||||||
{Acc, none};
|
{Acc, none};
|
||||||
{{Header, _Blocks}, SegList} ->
|
{{Header, _Blocks}, SegList} ->
|
||||||
BL = ?BLOCK_LENGTHS_LENGTH,
|
{BlockLengths, _LMD, BlockIdx} = extract_header(Header, IdxModDate),
|
||||||
<<BlockLengths:BL/binary, BlockIdx/binary>> = Header,
|
|
||||||
PosList = find_pos(BlockIdx, SegList, [], 0),
|
PosList = find_pos(BlockIdx, SegList, [], 0),
|
||||||
KVL = check_blocks(PosList,
|
KVL = check_blocks(PosList,
|
||||||
FullBin,
|
FullBin,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue