|
@ -117,7 +117,7 @@ Transaction.prototype.addInput = function (hash, index, sequence, scriptSig) { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
Transaction.prototype.addOutput = function (scriptPubKey, value) { |
|
|
Transaction.prototype.addOutput = function (scriptPubKey, value) { |
|
|
typeforce(types.tuple(types.Buffer, types.UInt53), arguments) |
|
|
typeforce(types.tuple(types.Buffer, types.Satoshi), arguments) |
|
|
|
|
|
|
|
|
// Add the output and return the output's index
|
|
|
// Add the output and return the output's index
|
|
|
return (this.outs.push({ |
|
|
return (this.outs.push({ |
|
|