From 191734f84dfad16356d604ee17f04ede3d7ccb03 Mon Sep 17 00:00:00 2001 From: rileystephens28 Date: Wed, 27 Nov 2024 18:12:36 -0600 Subject: [PATCH] Remove extra input vs outputs denomination check --- src/transaction/coinselector-fewest.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/transaction/coinselector-fewest.ts b/src/transaction/coinselector-fewest.ts index 0c971917..a153d296 100644 --- a/src/transaction/coinselector-fewest.ts +++ b/src/transaction/coinselector-fewest.ts @@ -80,14 +80,6 @@ export class FewestCoinSelector extends AbstractCoinSelector { throw new Error('Total output value exceeds total input value'); } - // Ensure largest output denomination ≤ largest input denomination - const maxInputDenomination = this.getMaxInputDenomination(); - const maxOutputDenomination = this.getMaxOutputDenomination(); - - if (maxOutputDenomination > maxInputDenomination) { - throw new Error('Largest output denomination exceeds largest input denomination'); - } - return { inputs: this.selectedUTXOs, spendOutputs: this.spendOutputs,