Skip to content

Commit

Permalink
fix: address review issues
Browse files Browse the repository at this point in the history
  • Loading branch information
remon-nashid committed May 28, 2019
1 parent 251d1c5 commit fab0746
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/LowLevel/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ export enum StoModuleTypes {
}

export enum StoModuleNames {
Capped = 'capped',
UsdTiered = 'usdTiered',
Capped = 'CappedSTO',
UsdTiered = 'USDTieredSTO',
}

export enum ModuleTypes {
Expand Down
2 changes: 1 addition & 1 deletion src/procedures/ForceTransfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class ForceTransfer extends Procedure<ForceTransferArgs> {
if (account !== controller) {
throw new PolymathError({
code: ErrorCodes.ProcedureValidationError,
message: `Unauthorized`,
message: `You must be the controller of this Security Token to perform forced transfers. Did you remember to call "setController"?`,
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/procedures/SetController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class SetController extends Procedure<SetControllerArgs> {
if (account !== owner) {
throw new PolymathError({
code: ErrorCodes.ProcedureValidationError,
message: `Unauthorized`,
message: `You must be the owner of this Security Token to set the controller`,
});
}

Expand Down

0 comments on commit fab0746

Please sign in to comment.