From b3c01f675097cd3123d2d9130354eed1413b040f Mon Sep 17 00:00:00 2001 From: Leonid Logvinov Date: Thu, 23 Nov 2017 09:46:21 -0600 Subject: Revert "Remove redundant async" This reverts commit 8d11ababd62d947e338757f57c41179510b11338. --- packages/0x.js/src/contract.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { - const promisifiedWithDefaultParams = (...args: any[]) => { + const promisifiedWithDefaultParams = async (...args: any[]) => { const promise = new Promise((resolve, reject) => { const lastArg = args[args.length - 1]; let txData: Partial = {}; -- cgit v1.2.3