diff --git a/src/leveled_sft.erl b/src/leveled_sft.erl index 686511c..206f0bd 100644 --- a/src/leveled_sft.erl +++ b/src/leveled_sft.erl @@ -1094,7 +1094,7 @@ last_key(BlockKeyList, _LastKey) -> lists:last(BlockKeyList). serialise_block(BlockKeyList) -> - term_to_binary(BlockKeyList, [compressed]). + term_to_binary(BlockKeyList, [{compressed, ?COMPRESSION_LEVEL}]). %% Compare the keys at the head of the list, and either skip that "best" key or