Commit c7e48fc
jxguan
Fix the bug where the capacity is incorrectly calculated.
The capacity should be s timed with the number of blocks, instead of added with. Also, the block numbers are zero-based, so a "+1" is needed to get to the correct number.1 parent 59788d5 commit c7e48fc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments