Skip to content
This repository has been archived by the owner on Jun 7, 2019. It is now read-only.

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
alepop committed Oct 4, 2017
1 parent 2d00458 commit 23bfef2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
7 changes: 1 addition & 6 deletions src/crypto/sign.js
Expand Up @@ -153,12 +153,7 @@ export function verifyMessageWithTwoPublicKeys(

/**
* @method printSignedMessage
* @param message
* @param signedMessage
* @param publicKey
* @param secondSignature
* @param secondPublicKey
*
* @param {object}
* @return {string}
*/

Expand Down
6 changes: 3 additions & 3 deletions test/crypto/sign.js
Expand Up @@ -90,7 +90,7 @@ describe('sign', () => {
const signedMessageExample = `
-----BEGIN LISK SIGNED MESSAGE-----
-----MESSAGE-----
not secret message
${notSecretMessage}
-----PUBLIC KEY-----
${defaultPublicKey}
-----SIGNATURE-----
Expand Down Expand Up @@ -119,7 +119,7 @@ ${defaultSignature}
const signedMessageWithTwoSecretsExample = `
-----BEGIN LISK SIGNED MESSAGE-----
-----MESSAGE-----
not secret message
${notSecretMessage}
-----PUBLIC KEY-----
${defaultPublicKey}
-----SECOND PUBLIC KEY-----
Expand All @@ -130,7 +130,7 @@ ${defaultSignature}
${defaultSecondSignature}
-----END LISK SIGNED MESSAGE-----
`.trim();
it('#signMessageWithTwoSecret should signTransaction using two secrets', () => {
it('#signMessageWithTwoSecrets should signTransaction using two secrets', () => {
const signedMessage = signMessageWithTwoSecrets(
notSecretMessage, defaultSecret, defaultSecondSecret,
);
Expand Down

0 comments on commit 23bfef2

Please sign in to comment.