aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2017-06-08 18:05:48 +0800
committerFabio Berger <me@fabioberger.com>2017-06-08 18:05:48 +0800
commit00782d6d68c08f3aec4f3dc8f8aee6054ac022e3 (patch)
tree60a75045dce9efe7109cae4e37cb7fadddd29937
parenta3140c86416fde624e92db745c70ebc72d443a00 (diff)
downloaddexon-sol-tools-00782d6d68c08f3aec4f3dc8f8aee6054ac022e3.tar.gz
dexon-sol-tools-00782d6d68c08f3aec4f3dc8f8aee6054ac022e3.tar.zst
dexon-sol-tools-00782d6d68c08f3aec4f3dc8f8aee6054ac022e3.zip
Fix comments
-rw-r--r--src/0x.js.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/0x.js.ts b/src/0x.js.ts
index d06069294..2bf8cad5e 100644
--- a/src/0x.js.ts
+++ b/src/0x.js.ts
@@ -33,7 +33,7 @@ export class ZeroEx {
private web3Wrapper: Web3Wrapper;
/**
* Verifies that the elliptic curve signature `signature` was generated
- * by signing `data` with the private key corresponding to the `signerAddressHex` address.
+ * by signing `dataHex` with the private key corresponding to the `signerAddressHex` address.
*/
public static isValidSignature(dataHex: string, signature: ECSignature, signerAddressHex: string): boolean {
assert.isHexString('dataHex', dataHex);
@@ -138,7 +138,7 @@ export class ZeroEx {
return orderHashHex;
}
/**
- * Signs an orderHash and returns it's elliptic curve signature
+ * Signs an orderHash and returns it's elliptic curve signature.
* This method currently supports TestRPC, Geth and Parity above and below V1.6.6
*/
public async signOrderHashAsync(orderHashHex: string, signerAddress: string): Promise<ECSignature> {