diff --git a/lib/transaction/transaction.js b/lib/transaction/transaction.js index 2839e79..6907c42 100644 --- a/lib/transaction/transaction.js +++ b/lib/transaction/transaction.js @@ -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); }