From 633b8f28d2abedd52b75243ea70ba27dc0936cdb Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Sun, 4 May 2014 15:15:22 +1000 Subject: [PATCH] Fixes incorrect PubKey hex constant --- test/hdwallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/hdwallet.js b/test/hdwallet.js index 73353e2..46f4bdc 100644 --- a/test/hdwallet.js +++ b/test/hdwallet.js @@ -236,7 +236,7 @@ describe('HDWallet', function() { var wallet = HDWallet.fromBase58('xpub6CxuB8ifZCMXeS3KbyNkYvrsJEHqxedCSiUhrNwH1nKtb8hcJpxDbDxkdoVCTR2bQ1G8hY4UMv85gef9SEpgFFUftBjt37FUSZxVx4AU9Qh').derive(0) it('derives the correct public key', function() { - assert.equal(wallet.pub.toHex(), '03146846eeb5a7533abb594ba734bc243fc7b6349499b8311c8fc13b0112ba8a77') + assert.equal(wallet.pub.toHex(), '02df843e6ae2017e0772d0584f76f56b8f2f5181a3045c7a7740a9d86dc7c80ce7') }) it('derives the correct depth', function() {