fixed getBitcoinAddress

This commit is contained in:
Vitalik Buterin 2014-01-08 18:41:36 -05:00
parent f58543b81a
commit 1f33b7a291
2 changed files with 2 additions and 2 deletions

2
bitcoinjs-min.js vendored

File diff suppressed because one or more lines are too long

View file

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