From ed01ed5bb4dbf4ffaee4edd2a77029db47fb9fb3 Mon Sep 17 00:00:00 2001 From: Daniel Cousens Date: Fri, 3 Oct 2014 19:11:38 +1000 Subject: [PATCH] remove unused bs58 core dependency --- package.json | 2 +- test/bitcoin.core.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 767610c..b5fe503 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ }, "devDependencies": { "browserify": "^5.12.0", + "bs58": "^2.0.0", "coveralls": "^2.11.2", "helloblock-js": "^0.2.5", "istanbul": "^0.3.2", @@ -73,7 +74,6 @@ }, "dependencies": { "bigi": "^1.1.0", - "bs58": "1.2.1", "bs58check": "1.0.1", "crypto-browserify": "3.2.4", "ecurve": "1.0.0" diff --git a/test/bitcoin.core.js b/test/bitcoin.core.js index 5cf004b..3560c81 100644 --- a/test/bitcoin.core.js +++ b/test/bitcoin.core.js @@ -27,7 +27,7 @@ describe('Bitcoin-core', function() { it('can decode ' + fb58, function() { var buffer = base58.decode(fb58) - var actual = buffer.toString('hex') + var actual = new Buffer(buffer).toString('hex') assert.equal(actual, fhex) })