|
@ -648,7 +648,7 @@ TransactionBuilder.prototype.__build = function (allowIncomplete) { |
|
|
|
|
|
|
|
|
if (!allowIncomplete) { |
|
|
if (!allowIncomplete) { |
|
|
// do not rely on this, its merely a last resort
|
|
|
// do not rely on this, its merely a last resort
|
|
|
if (this.__overMaximumFees(tx.byteLength())) { |
|
|
if (this.__overMaximumFees(tx.virtualSize())) { |
|
|
throw new Error('Transaction has absurd fees') |
|
|
throw new Error('Transaction has absurd fees') |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|