fixed getBitcoinAddress
This commit is contained in:
parent
f58543b81a
commit
1f33b7a291
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…
Reference in New Issue
Block a user