From 57417287bd1c643fee712b8594306e17286ac431 Mon Sep 17 00:00:00 2001 From: "Ryan X. Charles" Date: Mon, 16 Jun 2014 16:07:24 -0700 Subject: [PATCH] fix Wallet tests ...by removing references to now-nonexistent netKey --- test/test.Wallet.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/test.Wallet.js b/test/test.Wallet.js index 16605da98..5af27914f 100644 --- a/test/test.Wallet.js +++ b/test/test.Wallet.js @@ -97,10 +97,7 @@ describe('Wallet model', function() { should.exist(w.publicKeyRing); should.exist(w.privateKey); should.exist(w.txProposals); - should.exist(w.netKey); should.exist(w.addressBook); - var b = new bitcore.Buffer(w.netKey, 'base64'); - b.toString('hex').length.should.equal(16); }); it('should provide some basic features', function(done) { @@ -284,13 +281,11 @@ describe('Wallet model', function() { it('#getSecret decodeSecret', function() { var w = createW2(); var id = w.getMyCopayerId(); - var nk = w.netKey; var sb = w.getSecret(); should.exist(sb); var s = Wallet.decodeSecret(sb); s.pubKey.should.equal(id); - s.netKey.should.equal(nk); }); it('decodeSecret check', function() {