aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-05-26 23:51:07 +0800
committerFabio Berger <me@fabioberger.com>2017-05-26 23:51:07 +0800
commitb65ca931f24b69bf72c2b56e5b70269de710f5d5 (patch)
tree808a8b6588da93a803d5b827bb46b15b18af37ca /src
parentaa3ae700b0a971296b84c3c4290031e566005a1f (diff)
downloaddexon-0x-contracts-b65ca931f24b69bf72c2b56e5b70269de710f5d5.tar.gz
dexon-0x-contracts-b65ca931f24b69bf72c2b56e5b70269de710f5d5.tar.zst
dexon-0x-contracts-b65ca931f24b69bf72c2b56e5b70269de710f5d5.zip
remove outdated comment
Diffstat (limited to 'src')
-rw-r--r--src/ts/web3_wrapper.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ts/web3_wrapper.ts b/src/ts/web3_wrapper.ts
index 2f082c9ac..24938e396 100644
--- a/src/ts/web3_wrapper.ts
+++ b/src/ts/web3_wrapper.ts
@@ -54,8 +54,6 @@ export class Web3Wrapper {
const didFindCode = _.isNull(code.match(zeroHexAddressRegex));
return didFindCode;
}
- // Note: since `sign` is overloaded to be both a sync and async method, it doesn't play nice
- // with our callAsync method. We therefore handle it here as a special case.
public async signTransactionAsync(address: string, message: string): Promise<string> {
const signData = await promisify(this.web3.eth.sign)(address, message);
return signData;