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

Commit

Permalink
update string
Browse files Browse the repository at this point in the history
Signed-off-by: Matias Alejo Garcia <[email protected]>
  • Loading branch information
matiu committed Sep 4, 2015
1 parent e5dc40d commit 9fb146f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/credentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ Credentials.fromExtendedPublicKey = function(xPubKey, source, index, entropySour

var entropyBuffer = new Buffer(entropySourceHex, 'hex');
//require at least 112 bits of entropy
$.checkArgument(entropyBuffer.length >= 14, 'No enough entropy')
$.checkArgument(entropyBuffer.length >= 14, 'At least 112 bits of entropy are needed')

var x = new Credentials();
x.xPubKey = xPubKey;
Expand Down
2 changes: 1 addition & 1 deletion test/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -2023,7 +2023,7 @@ describe('client API', function() {
});
});
});
it('should failt to import with external priv key when not enough entropy', function() {
it('should fail to import with external priv key when not enought entropy', function() {
var client = helpers.newClient(app);
(function() {
client.seedFromExtendedPublicKey('xpub661MyMwAqRbcGVyYUcHbZi9KNhN9Tdj8qHi9ZdoUXP1VeKiXDGGrE9tSoJKYhGFE2rimteYdwvoP6e87zS5LsgcEvsvdrpPBEmeWz9EeAUq', 'ledger', 2, '1a1f00');
Expand Down

0 comments on commit 9fb146f

Please sign in to comment.