Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions ts_src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,6 @@ export class PayjoinClient {
// Verify the PSBT input is not finalized
if (isFinalized(proposedPSBTInput))
throw new Error('The receiver finalized one of our inputs');
// Verify that <code>non_witness_utxo</code> and <code>witness_utxo</code> are not specified.
if (proposedPSBTInput.nonWitnessUtxo || proposedPSBTInput.witnessUtxo)
throw new Error(
'The receiver added non_witness_utxo or witness_utxo to one of our inputs',
);
if (proposedTxIn.sequence != null) {
sequences.add(proposedTxIn.sequence);
}
Expand Down