Remove an unnecessary space.

This commit is contained in:
David de Kloet 2015-05-16 22:54:30 +02:00
parent 3d9560c0c5
commit 99d8ac1957
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ Transaction.prototype._isFeeTooLarge = function(opts) {
var maximumFee = Math.floor(Transaction.FEE_SECURITY_MARGIN * this._estimateFee());
if (fee > maximumFee) {
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);
}