Browse Source

Removes unnecessary new Buffer

hk-custom-address
Daniel Cousens 11 years ago
parent
commit
e6a9186af3
  1. 2
      src/hdwallet.js

2
src/hdwallet.js

@ -169,7 +169,7 @@ HDWallet.prototype.toHex = function(priv) {
}
HDWallet.prototype.toBase58 = function(priv) {
var buffer = new Buffer(this.toBuffer(priv))
var buffer = this.toBuffer(priv)
var checksum = crypto.hash256(buffer).slice(0, 4)
return base58.encode(Buffer.concat([

Loading…
Cancel
Save