|
|
@ -153,6 +153,9 @@ Transaction.DUST_AMOUNT = 5460; |
|
|
|
Transaction.prototype._hasDustOutputs = function() { |
|
|
|
var output; |
|
|
|
for (output in this.outputs) { |
|
|
|
if (this.outputs[output].script.isDataOut()) { |
|
|
|
return false; |
|
|
|
} |
|
|
|
if (this.outputs[output].satoshis < Transaction.DUST_AMOUNT) { |
|
|
|
return true; |
|
|
|
} |
|
|
|