diff options
author | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-23 23:35:41 +0800 |
---|---|---|
committer | Leonid Logvinov <logvinov.leon@gmail.com> | 2017-11-24 05:13:38 +0800 |
commit | 7bc6a7b23f655a62a71f5d28e3aadcd245f856b8 (patch) | |
tree | 419c52b832fb2346be7fead7cba8d33b1b7c2807 /packages/0x.js/src | |
parent | 4a19655fb05db8bc629a828c371adb6fb0b0a959 (diff) | |
download | dexon-0x-contracts-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.tar.gz dexon-0x-contracts-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.tar.zst dexon-0x-contracts-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.zip |
Remove redundant async
Diffstat (limited to 'packages/0x.js/src')
-rw-r--r-- | packages/0x.js/src/contract.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/0x.js/src/contract.ts b/packages/0x.js/src/contract.ts index e9c49c9f1..ebc4c5597 100644 --- a/packages/0x.js/src/contract.ts +++ b/packages/0x.js/src/contract.ts @@ -48,7 +48,7 @@ export class Contract implements Web3.ContractInstance { }); } private promisifyWithDefaultParams(fn: (...args: any[]) => void): (...args: any[]) => Promise<any> { - const promisifiedWithDefaultParams = async (...args: any[]) => { + const promisifiedWithDefaultParams = (...args: any[]) => { const promise = new Promise((resolve, reject) => { const lastArg = args[args.length - 1]; let txData: Partial<Web3.TxData> = {}; |