From 114b5ea0fe78b9b9b5b4fc46e13b21e45f77a628 Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Fri, 2 Jun 2017 09:59:10 +0200 Subject: improve comment --- src/0x.js.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/0x.js.ts b/src/0x.js.ts index 666fd00c6..0e9d71586 100644 --- a/src/0x.js.ts +++ b/src/0x.js.ts @@ -69,7 +69,10 @@ export class ZeroEx { const salt = randomNumber.times(factor).round(); return salt; } - /** Checks if order hash is valid */ + /** + * Checks if the supplied hex encoded order hash is valid. + * Note: Valid means it has the expected format, not that an order with the orderHash exists. + */ public static isValidOrderHash(orderHashHex: string): boolean { // Since this method can be called to check if any arbitrary string conforms to an orderHash's // format, we only assert that we were indeed passed a string. -- cgit v1.2.3