Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

Commit 394f88a

Browse files
author
Victor Wiebe
committed
fix: revert flag text update GPM
1 parent 5e45db6 commit 394f88a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/contract_wrappers/modules/permission_manager/general_permission_manager_wrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ export default class GeneralPermissionManagerWrapper extends ModuleWrapper {
167167
assert.assert(await this.isCallerAllowed(params.txData, Perm.Admin), 'Caller is not allowed');
168168
assert.isNonZeroETHAddressHex('delegate', params.delegate);
169169
assert.assert(params.details.length > 0, '0 value not allowed');
170-
assert.assert(!(await (await this.contract).checkDelegate.callAsync(params.delegate)), 'Already present');
170+
assert.assert(!(await (await this.contract).checkDelegate.callAsync(params.delegate)), 'Delegate already present');
171171
return (await this.contract).addDelegate.sendTransactionAsync(
172172
params.delegate,
173173
stringToBytes32(params.details),

0 commit comments

Comments
 (0)