Browse Source

Remove an unnecessary space.

patch-2
David de Kloet 10 years ago
parent
commit
99d8ac1957
  1. 2
      lib/transaction/transaction.js

2
lib/transaction/transaction.js

@ -230,7 +230,7 @@ Transaction.prototype._isFeeTooLarge = function(opts) {
var maximumFee = Math.floor(Transaction.FEE_SECURITY_MARGIN * this._estimateFee()); var maximumFee = Math.floor(Transaction.FEE_SECURITY_MARGIN * this._estimateFee());
if (fee > maximumFee) { if (fee > maximumFee) {
if (this._missingChange()) { if (this._missingChange()) {
return new errors.Transaction.ChangeAddressMissing( 'Fee is too large and no change address was provided'); return new errors.Transaction.ChangeAddressMissing('Fee is too large and no change address was provided');
} }
return new errors.Transaction.FeeError.TooLarge('expected less than ' + maximumFee + ' but got ' + fee); return new errors.Transaction.FeeError.TooLarge('expected less than ' + maximumFee + ' but got ' + fee);
} }

Loading…
Cancel
Save