|
|
@ -114,7 +114,7 @@ Transaction.prototype.serialize = function(unsafe) { |
|
|
|
} |
|
|
|
}; |
|
|
|
|
|
|
|
Transaction.prototype.uncheckedSerialize = Transaction.prototype.toString = function() { |
|
|
|
Transaction.prototype.uncheckedSerialize = function() { |
|
|
|
return this.toBuffer().toString('hex'); |
|
|
|
}; |
|
|
|
|
|
|
@ -161,7 +161,7 @@ Transaction.prototype._hasDustOutputs = function() { |
|
|
|
}; |
|
|
|
|
|
|
|
Transaction.prototype.inspect = function() { |
|
|
|
return '<Transaction: ' + this.toString() + '>'; |
|
|
|
return '<Transaction: ' + this.uncheckedSerialize() + '>'; |
|
|
|
}; |
|
|
|
|
|
|
|
Transaction.prototype.toBuffer = function() { |
|
|
|