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

Commit

Permalink
Adds a createTransaction function for multisignature transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
toschdev committed Jun 19, 2017
1 parent ce69550 commit 0140d42
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/transactions/multisignature.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,17 @@ describe('multisignature.js', function () {

});

it('should create a multisignature transaction without requesterPublicKey and secondSecret', function () {

var msigTransaction2 = lisk.multisignature.createTransaction(recipientId, amount, secret);
var pubKey = lisk.crypto.getPrivateAndPublicKeyFromSecret(secret).publicKey;

(msigTransaction2.requesterPublicKey).should.be.equal(pubKey);

console.log(msigTransaction2);

});


});

Expand Down

0 comments on commit 0140d42

Please sign in to comment.