this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix assert off-by-one

garrison 36ed0995 e7078bb1

+1 -1
+1 -1
lib/xks/wal.ex
··· 445 445 defp write_wal_block(block_store, wal, free_list, opt_block_size, block_acc, largest_version) do 446 446 entries_size = byte_size(block_acc) - c_address_bytes() 447 447 pad_bytes = opt_block_size - c_address_bytes() - entries_size - c_wal_entries_size_bytes() 448 - assert pad_bytes > 0 448 + assert pad_bytes >= 0 449 449 450 450 block_acc = << 451 451 block_acc::binary,