Skip to content

Commit

Permalink
fix: use correct transaction tag
Browse files Browse the repository at this point in the history
  • Loading branch information
monitz87 committed Oct 24, 2019
1 parent 2d72f1e commit d607c7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/procedures/AssignSecurityTokenRole.ts
Expand Up @@ -90,7 +90,7 @@ export class AssignSecurityTokenRole extends Procedure<AssignSecurityTokenRolePr
} else {
// Delegate not found. Add them here
await this.addTransaction(permissionModule.addDelegate, {
tag: PolyTransactionTag.ChangePermission,
tag: PolyTransactionTag.AddDelegate,
})({ delegate, details: description });
}

Expand Down
1 change: 1 addition & 0 deletions src/types/index.ts
Expand Up @@ -143,6 +143,7 @@ export enum PolyTransactionTag {
WithdrawTaxWithholdings = 'WithdrawTaxWithholdings',
PushDividendPayment = 'PushDividendPayment',
SetDividendsWallet = 'SetDividendsWallet',
AddDelegate = 'AddDelegate',
ChangePermission = 'ChangePermission',
ControllerTransfer = 'ControllerTransfer',
PauseSto = 'PauseSto',
Expand Down

0 comments on commit d607c7f

Please sign in to comment.