fixed getBitcoinAddress
This commit is contained in:
parent
f58543b81a
commit
1f33b7a291
2 changed files with 2 additions and 2 deletions
2
bitcoinjs-min.js
vendored
2
bitcoinjs-min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -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…
Add table
Reference in a new issue