Skip to content

Commit ba5fc7c

Browse files
author
Dan Volkov
authored
Merge pull request #17 from TrueCarry/fix-account-status-change
Update AccountStatusChange.ts
2 parents 31c8ba2 + 97cecc4 commit ba5fc7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/types/AccountStatusChange.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ export function loadAccountStatusChange(slice: Slice): AccountStatusChange {
2020
return 'unchanged';
2121
}
2222
if (slice.loadBit()) {
23-
return 'frozen';
24-
} else {
2523
return 'deleted';
24+
} else {
25+
return 'frozen';
2626
}
2727
}
2828

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

0 commit comments

Comments
 (0)