aboutsummaryrefslogtreecommitdiffstats
path: root/packages/order-watcher/src/utils/assert.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-15 03:48:46 +0800
committerFabio Berger <me@fabioberger.com>2018-05-15 05:27:41 +0800
commit5422bf57332f69d7b45e884c19a9f20d60bdec5b (patch)
tree589c915c4c085aad68809b7eb5123072beeda8d2 /packages/order-watcher/src/utils/assert.ts
parentda60008048fdf99f3e00e9b83595dfc6572bdf73 (diff)
downloaddexon-0x-contracts-5422bf57332f69d7b45e884c19a9f20d60bdec5b.tar.gz
dexon-0x-contracts-5422bf57332f69d7b45e884c19a9f20d60bdec5b.tar.zst
dexon-0x-contracts-5422bf57332f69d7b45e884c19a9f20d60bdec5b.zip
Fix TSLint issues
Diffstat (limited to 'packages/order-watcher/src/utils/assert.ts')
-rw-r--r--packages/order-watcher/src/utils/assert.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/order-watcher/src/utils/assert.ts b/packages/order-watcher/src/utils/assert.ts
index f96bcebc1..9e02f8bdc 100644
--- a/packages/order-watcher/src/utils/assert.ts
+++ b/packages/order-watcher/src/utils/assert.ts
@@ -12,7 +12,7 @@ import { isValidSignature } from '@0xproject/order-utils';
export const assert = {
...sharedAssert,
- isValidSignature(orderHash: string, ecSignature: ECSignature, signerAddress: string) {
+ isValidSignature(orderHash: string, ecSignature: ECSignature, signerAddress: string): void {
const isValid = isValidSignature(orderHash, ecSignature, signerAddress);
this.assert(isValid, `Expected order with hash '${orderHash}' to have a valid signature`);
},