Merge pull request #123 from martinsumner/bug/rdb/gh122
Fix failing test, I don't understand how
This commit is contained in:
commit
669a859d75
1 changed files with 1 additions and 1 deletions
|
@ -1519,7 +1519,7 @@ crc_check_slot(FullBin) ->
|
||||||
PosBL:32/integer,
|
PosBL:32/integer,
|
||||||
CRC32H:32/integer,
|
CRC32H:32/integer,
|
||||||
Rest/binary>> = FullBin,
|
Rest/binary>> = FullBin,
|
||||||
PosBL0 = min(PosBL, byte_size(FullBin) - 3),
|
PosBL0 = min(PosBL, byte_size(FullBin) - 12),
|
||||||
% If the position has been bit-flipped to beyond the maximum paossible
|
% If the position has been bit-flipped to beyond the maximum paossible
|
||||||
% length, use the maximum possible length
|
% length, use the maximum possible length
|
||||||
<<Header:PosBL0/binary, Blocks/binary>> = Rest,
|
<<Header:PosBL0/binary, Blocks/binary>> = Rest,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue