aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-02 22:54:05 +0800
committerFabio Berger <me@fabioberger.com>2017-06-02 22:54:05 +0800
commit00fde26a541797902e1732b0a978376c8960195e (patch)
tree5b39a663c84cb74de5146a0d2d723b524f07ddd9
parentdea6406a5f1027c4706dfd90b4e5c59e42d15bf0 (diff)
downloaddexon-sol-tools-00fde26a541797902e1732b0a978376c8960195e.tar
dexon-sol-tools-00fde26a541797902e1732b0a978376c8960195e.tar.gz
dexon-sol-tools-00fde26a541797902e1732b0a978376c8960195e.tar.bz2
dexon-sol-tools-00fde26a541797902e1732b0a978376c8960195e.tar.lz
dexon-sol-tools-00fde26a541797902e1732b0a978376c8960195e.tar.xz
dexon-sol-tools-00fde26a541797902e1732b0a978376c8960195e.tar.zst
dexon-sol-tools-00fde26a541797902e1732b0a978376c8960195e.zip
Improve comment
-rw-r--r--src/0x.js.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/0x.js.ts b/src/0x.js.ts
index 679d748e7..7cf313666 100644
--- a/src/0x.js.ts
+++ b/src/0x.js.ts
@@ -116,7 +116,6 @@ export class ZeroEx {
this.tokenRegistry.invalidateContractInstance();
this.token.invalidateContractInstances();
}
-
/**
* Sets default account for sending transactions.
*/
@@ -131,7 +130,7 @@ export class ZeroEx {
return senderAccountIfExists;
}
/**
- * Computes the orderHash given the order parameters and returns it as a hex encoded string.
+ * Computes the orderHash for a given order and returns it as a hex encoded string.
*/
public async getOrderHashHexAsync(order: Order): Promise<string> {
const exchangeContractAddr = await this.getExchangeAddressAsync();