Skip to content

Commit

Permalink
Merge pull request #17 from TrueCarry/fix-account-status-change
Browse files Browse the repository at this point in the history
Update AccountStatusChange.ts
  • Loading branch information
Dan Volkov authored Dec 22, 2023
2 parents 31c8ba2 + 97cecc4 commit ba5fc7c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/types/AccountStatusChange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export function loadAccountStatusChange(slice: Slice): AccountStatusChange {
return 'unchanged';
}
if (slice.loadBit()) {
return 'frozen';
} else {
return 'deleted';
} else {
return 'frozen';
}
}

Expand All @@ -40,4 +40,4 @@ export function storeAccountStatusChange(src: AccountStatusChange) {
throw Error('Invalid account status change');
}
};
}
}

0 comments on commit ba5fc7c

Please sign in to comment.