Skip to content

Commit

Permalink
Fix slab header size calculation.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Feb 26, 2015
1 parent 3fe7eb7 commit 0814726
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bitcoin/blockchain/database/fsizes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ constexpr size_t linked_record_offset = 4;

constexpr size_t htdb_slab_header_fsize(size_t buckets)
{
return 4 + 8 * buckets;
return 8 + 8 * buckets;
}

constexpr size_t htdb_record_header_fsize(size_t buckets)
Expand Down

0 comments on commit 0814726

Please sign in to comment.