Skip to content

Commit b50926d

Browse files
authored
Merge pull request #261 from xssnick/dev-v19
Fixed AccStatusChangeFrozen ToCell bits order
2 parents d22f8d3 + 8ac5d4f commit b50926d

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

tlb/transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ func (a AccStatusChange) ToCell() (*cell.Cell, error) {
348348
case AccStatusChangeUnchanged:
349349
return cell.BeginCell().MustStoreUInt(0b0, 1).EndCell(), nil
350350
case AccStatusChangeFrozen:
351-
return cell.BeginCell().MustStoreUInt(0b01, 2).EndCell(), nil
351+
return cell.BeginCell().MustStoreUInt(0b10, 2).EndCell(), nil
352352
case AccStatusChangeDeleted:
353353
return cell.BeginCell().MustStoreUInt(0b11, 2).EndCell(), nil
354354
}

0 commit comments

Comments
 (0)