diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-22 07:25:42 +0800 |
---|---|---|
committer | Remco Bloemen <remco@wicked.ventures> | 2018-06-23 19:53:39 +0800 |
commit | 8ddcb6c841fd97bca2cddffd49a5b773cf53635f (patch) | |
tree | fa20464707926d0615b0620d3d7d302281d58f54 /packages/contracts/src/utils/multi_sig_wrapper.ts | |
parent | 1681361aedb2c7c4d97f8b74890ee2f86d96df45 (diff) | |
download | dexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar.gz dexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.tar.zst dexon-sol-tools-8ddcb6c841fd97bca2cddffd49a5b773cf53635f.zip |
Update and add tests
Diffstat (limited to 'packages/contracts/src/utils/multi_sig_wrapper.ts')
-rw-r--r-- | packages/contracts/src/utils/multi_sig_wrapper.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/src/utils/multi_sig_wrapper.ts b/packages/contracts/src/utils/multi_sig_wrapper.ts index f0098bd5e..b0d4fa8ab 100644 --- a/packages/contracts/src/utils/multi_sig_wrapper.ts +++ b/packages/contracts/src/utils/multi_sig_wrapper.ts @@ -40,13 +40,15 @@ export class MultiSigWrapper { const tx = await this._logDecoder.getTxWithDecodedLogsAsync(txHash); return tx; } - public async executeRemoveAuthorizedAddressAsync( + public async executeRemoveAuthorizedAddressAtIndexAsync( txId: BigNumber, from: string, ): Promise<TransactionReceiptWithDecodedLogs> { // tslint:disable-next-line:no-unnecessary-type-assertion const txHash = await (this - ._multiSig as AssetProxyOwnerContract).executeRemoveAuthorizedAddress.sendTransactionAsync(txId, { from }); + ._multiSig as AssetProxyOwnerContract).executeRemoveAuthorizedAddressAtIndex.sendTransactionAsync(txId, { + from, + }); const tx = await this._logDecoder.getTxWithDecodedLogsAsync(txHash); return tx; } |