From 9fb146fca40b5d0341953e9ce6ec80ce132975d4 Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Fri, 4 Sep 2015 20:15:27 -0300 Subject: [PATCH] update string Signed-off-by: Matias Alejo Garcia --- lib/credentials.js | 2 +- test/client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/credentials.js b/lib/credentials.js index 3b001160..84b7d6ef 100644 --- a/lib/credentials.js +++ b/lib/credentials.js @@ -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; diff --git a/test/client.js b/test/client.js index 0d493dbd..98c10efd 100644 --- a/test/client.js +++ b/test/client.js @@ -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');