Skip to content

Commit

Permalink
entity ID is an account ID in TOKENREJECT.
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Viénot <[email protected]>
  • Loading branch information
svienot committed Sep 19, 2024
1 parent afd1f4f commit 4a3cb35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/utils/EntityDescriptor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export class EntityDescriptor {
case TransactionType.TOKENREVOKEKYC:
case TransactionType.TOKENFREEZE:
case TransactionType.TOKENUNFREEZE:
case TransactionType.TOKENREJECT:
result = new EntityDescriptor("Account ID", "AccountDetails")
break;

Expand Down Expand Up @@ -109,7 +110,6 @@ export class EntityDescriptor {
case TransactionType.TOKENFEESCHEDULEUPDATE:
case TransactionType.TOKENMINT:
case TransactionType.TOKENPAUSE:
case TransactionType.TOKENREJECT:
case TransactionType.TOKENUNPAUSE:
case TransactionType.TOKENWIPE:
result = new EntityDescriptor("Token ID", "TokenDetails");
Expand Down
2 changes: 1 addition & 1 deletion src/utils/TransactionTools.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export function makeSummaryLabel(row: Transaction): string {
case TransactionType.TOKENREVOKEKYC:
case TransactionType.TOKENFREEZE:
case TransactionType.TOKENUNFREEZE:
case TransactionType.TOKENREJECT:
case TransactionType.CRYPTOADDLIVEHASH:
case TransactionType.CRYPTODELETELIVEHASH:
result = row.entity_id ? "Account ID: " + row.entity_id : ""
Expand All @@ -57,7 +58,6 @@ export function makeSummaryLabel(row: Transaction): string {
case TransactionType.TOKENDELETION:
case TransactionType.TOKENFEESCHEDULEUPDATE:
case TransactionType.TOKENPAUSE:
case TransactionType.TOKENREJECT:
case TransactionType.TOKENUNPAUSE:
case TransactionType.TOKENUPDATE:
case TransactionType.TOKENUPDATENFTS:
Expand Down

0 comments on commit 4a3cb35

Please sign in to comment.