Skip to content

Commit

Permalink
Merge pull request #261 from xssnick/dev-v19
Browse files Browse the repository at this point in the history
Fixed AccStatusChangeFrozen ToCell bits order
  • Loading branch information
xssnick authored Sep 23, 2024
2 parents d22f8d3 + 8ac5d4f commit b50926d
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 b50926d

Please sign in to comment.