diff --git a/lib/transaction/transaction.js b/lib/transaction/transaction.js index 4ace9eb..de2582e 100644 --- a/lib/transaction/transaction.js +++ b/lib/transaction/transaction.js @@ -228,8 +228,7 @@ Transaction.prototype._isFeeTooLarge = function(opts) { return; } var fee = this._getUnspentValue(); - var maximumFee = Math.floor( - Transaction.FEE_SECURITY_MARGIN * this._estimateFee()); + var maximumFee = Math.floor(Transaction.FEE_SECURITY_MARGIN * this._estimateFee()); if (fee > maximumFee) { if (this._missingChange()) { return new errors.Transaction.ChangeAddressMissing( @@ -245,8 +244,7 @@ Transaction.prototype._isFeeTooSmall = function(opts) { return; } var fee = this._getUnspentValue(); - var minimumFee = Math.ceil( - this._estimateFee() / Transaction.FEE_SECURITY_MARGIN); + var minimumFee = Math.ceil(this._estimateFee() / Transaction.FEE_SECURITY_MARGIN); if (fee < minimumFee) { return new errors.Transaction.FeeError.TooSmall( 'expected more than ' + minimumFee + ' but got ' + fee); @@ -264,8 +262,7 @@ Transaction.prototype._hasDustOutputs = function(opts) { var index, output; for (index in this.outputs) { output = this.outputs[index]; - if (output.satoshis < Transaction.DUST_AMOUNT && - !output.script.isDataOut()) { + if (output.satoshis < Transaction.DUST_AMOUNT && !output.script.isDataOut()) { return new errors.Transaction.DustOutputs(); } }