Browse Source

fixed getBitcoinAddress

hk-custom-address
Vitalik Buterin 11 years ago
parent
commit
1f33b7a291
  1. 2
      bitcoinjs-min.js
  2. 2
      src/eckey.js

2
bitcoinjs-min.js

File diff suppressed because one or more lines are too long

2
src/eckey.js

@ -127,7 +127,7 @@ ECPubKey.prototype.toString = function (format) {
}
ECPubKey.prototype.getBitcoinAddress = function(v) {
return new Address(util.sha256ripe160(this.export()),version);
return new Address(util.sha256ripe160(this.export()),v);
}

Loading…
Cancel
Save