aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-05-23 02:58:42 +0800
committerFabio Berger <me@fabioberger.com>2018-05-23 02:58:42 +0800
commit9373451ca8c19ac2ab20db792fd049ccf284f1f2 (patch)
tree2966f2c8b73b9274e054507fb910c435a82a4e2e /packages/contracts/test/exchange
parent15c199d5a23bcab229a4eab531c5ecc49e9f718b (diff)
downloaddexon-sol-tools-9373451ca8c19ac2ab20db792fd049ccf284f1f2.tar
dexon-sol-tools-9373451ca8c19ac2ab20db792fd049ccf284f1f2.tar.gz
dexon-sol-tools-9373451ca8c19ac2ab20db792fd049ccf284f1f2.tar.bz2
dexon-sol-tools-9373451ca8c19ac2ab20db792fd049ccf284f1f2.tar.lz
dexon-sol-tools-9373451ca8c19ac2ab20db792fd049ccf284f1f2.tar.xz
dexon-sol-tools-9373451ca8c19ac2ab20db792fd049ccf284f1f2.tar.zst
dexon-sol-tools-9373451ca8c19ac2ab20db792fd049ccf284f1f2.zip
Fix tslint issues
Diffstat (limited to 'packages/contracts/test/exchange')
-rw-r--r--packages/contracts/test/exchange/signature_validator.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/contracts/test/exchange/signature_validator.ts b/packages/contracts/test/exchange/signature_validator.ts
index 489ed32c5..edff3abc6 100644
--- a/packages/contracts/test/exchange/signature_validator.ts
+++ b/packages/contracts/test/exchange/signature_validator.ts
@@ -62,12 +62,12 @@ describe('MixinSignatureValidator', () => {
it('should return true with a valid signature', async () => {
const orderHashHex = orderUtils.getOrderHashHex(signedOrder);
- const success = await signatureValidator.publicIsValidSignature.callAsync(
+ const isValidSignature = await signatureValidator.publicIsValidSignature.callAsync(
orderHashHex,
signedOrder.makerAddress,
signedOrder.signature,
);
- expect(success).to.be.true();
+ expect(isValidSignature).to.be.true();
});
it('should return false with an invalid signature', async () => {
@@ -81,12 +81,12 @@ describe('MixinSignatureValidator', () => {
const invalidSigHex = `0x${invalidSigBuff.toString('hex')}`;
signedOrder.signature = invalidSigHex;
const orderHashHex = orderUtils.getOrderHashHex(signedOrder);
- const success = await signatureValidator.publicIsValidSignature.callAsync(
+ const isValidSignature = await signatureValidator.publicIsValidSignature.callAsync(
orderHashHex,
signedOrder.makerAddress,
signedOrder.signature,
);
- expect(success).to.be.false();
+ expect(isValidSignature).to.be.false();
});
});
});