Skip to content

Commit d494251

Browse files
authored
Merge pull request #8 from arc0035/main
fix CellSlice.getFreeBits
2 parents 3bfcce5 + 0e2d307 commit d494251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cell/src/main/java/org/ton/java/cell/CellSlice.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ public boolean preloadBitAt(int position) {
303303
}
304304

305305
public int getFreeBits() {
306-
return bits.getFreeBits();
306+
return getRestBits();
307307
}
308308

309309
public int getRestBits() {

0 commit comments

Comments
 (0)