@ -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"
@ -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)
})