Skip to content

Commit

Permalink
Fixed AccStatusChangeFrozen ToCell bits order
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleg Baranov committed Sep 23, 2024
1 parent 3d2d643 commit 8ac5d4f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tlb/transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ func (a AccStatusChange) ToCell() (*cell.Cell, error) {
case AccStatusChangeUnchanged:
return cell.BeginCell().MustStoreUInt(0b0, 1).EndCell(), nil
case AccStatusChangeFrozen:
return cell.BeginCell().MustStoreUInt(0b01, 2).EndCell(), nil
return cell.BeginCell().MustStoreUInt(0b10, 2).EndCell(), nil
case AccStatusChangeDeleted:
return cell.BeginCell().MustStoreUInt(0b11, 2).EndCell(), nil
}
Expand Down
Loading

0 comments on commit 8ac5d4f

Please sign in to comment.