Skip to content

Commit

Permalink
Merge pull request #8 from arc0035/main
Browse files Browse the repository at this point in the history
fix CellSlice.getFreeBits
  • Loading branch information
neodix42 authored May 31, 2024
2 parents 3bfcce5 + 0e2d307 commit d494251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cell/src/main/java/org/ton/java/cell/CellSlice.java
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ public boolean preloadBitAt(int position) {
}

public int getFreeBits() {
return bits.getFreeBits();
return getRestBits();
}

public int getRestBits() {
Expand Down

0 comments on commit d494251

Please sign in to comment.