Skip to content

Commit

Permalink
fix getFreeBits
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron committed May 31, 2024
1 parent 39fb8f5 commit 0e2d307
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 0e2d307

Please sign in to comment.