aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test
diff options
context:
space:
mode:
authorGreg Hysen <greg.hysen@gmail.com>2018-08-25 04:20:17 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-08-25 05:40:00 +0800
commita27112cbefbe9d9039d265cfc92c1022b0f9d103 (patch)
treec3120f1f40314b9746c5cf58381d8e0bd0ad2642 /packages/contracts/test
parentd039a1adda6fd8ce87a254310e0f56568b10136b (diff)
downloaddexon-sol-tools-a27112cbefbe9d9039d265cfc92c1022b0f9d103.tar
dexon-sol-tools-a27112cbefbe9d9039d265cfc92c1022b0f9d103.tar.gz
dexon-sol-tools-a27112cbefbe9d9039d265cfc92c1022b0f9d103.tar.bz2
dexon-sol-tools-a27112cbefbe9d9039d265cfc92c1022b0f9d103.tar.lz
dexon-sol-tools-a27112cbefbe9d9039d265cfc92c1022b0f9d103.tar.xz
dexon-sol-tools-a27112cbefbe9d9039d265cfc92c1022b0f9d103.tar.zst
dexon-sol-tools-a27112cbefbe9d9039d265cfc92c1022b0f9d103.zip
SignatureType.Trezor -> SignatureType.EthSign in Signature Validator tests
Diffstat (limited to 'packages/contracts/test')
-rw-r--r--packages/contracts/test/exchange/signature_validator.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/contracts/test/exchange/signature_validator.ts b/packages/contracts/test/exchange/signature_validator.ts
index 6bc0bbc02..da2febfd8 100644
--- a/packages/contracts/test/exchange/signature_validator.ts
+++ b/packages/contracts/test/exchange/signature_validator.ts
@@ -473,7 +473,7 @@ describe('MixinSignatureValidator', () => {
const v = ethUtil.toBuffer('0x1c');
const r = ethUtil.toBuffer('0x423b71062c327f0ec4fe199b8da0f34185e59b4c1cb4cc23df86cac4a601fb3f');
const s = ethUtil.toBuffer('0x53810d6591b5348b7ee08ee812c874b0fdfb942c9849d59512c90e295221091f');
- const trezorSignatureType = ethUtil.toBuffer(`0x${SignatureType.Trezor}`);
+ const trezorSignatureType = ethUtil.toBuffer(`0x${SignatureType.EthSign}`);
const signature = Buffer.concat([v, r, s, trezorSignatureType]);
const signatureHex = ethUtil.bufferToHex(signature);
const isValidSignature = await signatureValidator.publicIsValidSignature.callAsync(