script.toAddress -> script.getToAddress

This commit is contained in:
Wei Lu 2014-03-22 20:30:49 +08:00
parent 423124966f
commit c3880c0cdf
3 changed files with 5 additions and 5 deletions

View file

@ -150,7 +150,7 @@ Script.prototype.toScriptHash = function() {
return util.sha256ripe160(this.buffer)
}
Script.prototype.toAddress = function() {
Script.prototype.getToAddress = function() {
var outType = this.getOutType();
if (outType == 'Pubkey') {