Skip to content

Commit

Permalink
Correction-btcTemplate : validate() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Legend101Zz committed Oct 17, 2024
1 parent 69e44cb commit d96b3be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/caravan-fees/src/btcTransactionTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ export class BtcTransactionTemplate {
return false;
}

// 2. Validate each input
if (!this._inputs.every((input) => input.isValid())) {
// 2. Validate each output
if (!this._outputs.every((output) => output.isValid())) {
return false;
}

Expand Down

0 comments on commit d96b3be

Please sign in to comment.