Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: entity ID in TOKENREJECT #1370

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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