aboutsummaryrefslogtreecommitdiffstats
path: root/packages/0x.js/src/contract.ts
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2017-11-23 23:46:21 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2017-11-24 05:15:00 +0800
commitb3c01f675097cd3123d2d9130354eed1413b040f (patch)
tree558b750734eb3f87a554a45913c6e10535261ba7 /packages/0x.js/src/contract.ts
parent34beee1edcd59b0f78c3dcce51cf847291ae06b4 (diff)
downloaddexon-sol-tools-b3c01f675097cd3123d2d9130354eed1413b040f.tar
dexon-sol-tools-b3c01f675097cd3123d2d9130354eed1413b040f.tar.gz
dexon-sol-tools-b3c01f675097cd3123d2d9130354eed1413b040f.tar.bz2
dexon-sol-tools-b3c01f675097cd3123d2d9130354eed1413b040f.tar.lz
dexon-sol-tools-b3c01f675097cd3123d2d9130354eed1413b040f.tar.xz
dexon-sol-tools-b3c01f675097cd3123d2d9130354eed1413b040f.tar.zst
dexon-sol-tools-b3c01f675097cd3123d2d9130354eed1413b040f.zip
Revert "Remove redundant async"
This reverts commit 8d11ababd62d947e338757f57c41179510b11338.
Diffstat (limited to 'packages/0x.js/src/contract.ts')
-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 ebc4c5597..e9c49c9f1 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 = (...args: any[]) => {
+ const promisifiedWithDefaultParams = async (...args: any[]) => {
const promise = new Promise((resolve, reject) => {
const lastArg = args[args.length - 1];
let txData: Partial<Web3.TxData> = {};