mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2026-08-09 08:14:43 +00:00
remove payjoin verification step to check there is no previous utxo information in the psbt as per bip78 change
This commit is contained in:
@@ -160,10 +160,6 @@ public class Payjoin {
|
||||
if(proposedPSBTInput.isFinalized()) {
|
||||
throw new PayjoinReceiverException("The receiver finalized one of the original inputs");
|
||||
}
|
||||
// Verify that non_witness_utxo and witness_utxo are not specified.
|
||||
if(proposedPSBTInput.getNonWitnessUtxo() != null || proposedPSBTInput.getWitnessUtxo() != null) {
|
||||
throw new PayjoinReceiverException("The receiver added non_witness_utxo or witness_utxo to one of the original inputs");
|
||||
}
|
||||
sequences.add(proposedTxIn.getSequenceNumber());
|
||||
|
||||
PSBTInput originalPSBTInput = originalInput.getValue();
|
||||
|
||||
Reference in New Issue
Block a user