diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-08-25 02:57:12 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-08-25 05:40:00 +0800 |
commit | d039a1adda6fd8ce87a254310e0f56568b10136b (patch) | |
tree | 3b6a37b373fd2670c9c04fc98b3589b06d057067 /packages | |
parent | bb4d449e92da347c305d64fbe1855b13a8db361b (diff) | |
download | dexon-0x-contracts-d039a1adda6fd8ce87a254310e0f56568b10136b.tar.gz dexon-0x-contracts-d039a1adda6fd8ce87a254310e0f56568b10136b.tar.zst dexon-0x-contracts-d039a1adda6fd8ce87a254310e0f56568b10136b.zip |
Fixed linter in signatureUtils
Diffstat (limited to 'packages')
-rw-r--r-- | packages/order-utils/src/signature_utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/order-utils/src/signature_utils.ts b/packages/order-utils/src/signature_utils.ts index c18e895f5..e5478d4d6 100644 --- a/packages/order-utils/src/signature_utils.ts +++ b/packages/order-utils/src/signature_utils.ts @@ -347,7 +347,7 @@ export const signatureUtils = { }; function hashTrezorPersonalMessage(message: Buffer): Buffer { - const prefix = ethUtil.toBuffer('\x19Ethereum Signed Message:\n' + message.byteLength); + const prefix = ethUtil.toBuffer(`\x19Ethereum Signed Message:\n${message.byteLength}`); return ethUtil.sha3(Buffer.concat([prefix, message])); } |