aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-23 23:35:41 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:13:38 +0800
commit7bc6a7b23f655a62a71f5d28e3aadcd245f856b8 (patch)
tree419c52b832fb2346be7fead7cba8d33b1b7c2807 /packages
parent4a19655fb05db8bc629a828c371adb6fb0b0a959 (diff)
downloaddexon-sol-tools-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.tar
dexon-sol-tools-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.tar.gz
dexon-sol-tools-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.tar.bz2
dexon-sol-tools-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.tar.lz
dexon-sol-tools-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.tar.xz
dexon-sol-tools-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.tar.zst
dexon-sol-tools-7bc6a7b23f655a62a71f5d28e3aadcd245f856b8.zip
Remove redundant async
Diffstat (limited to 'packages')
-rw-r--r--packages/0x.js/src/contract.ts2
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> = {};