Skip to content

Commit

Permalink
Keep input utxo data through input finalization
Browse files Browse the repository at this point in the history
According to the psbt Input Finalizer spec "All other data except the UTXO and unknown fields in the input key-value map should be cleared from the PSBT. The UTXO should be kept to allow Transaction Extractors to verify the final network serialized transaction."

I ran into a problem where an LND acting as sender FinalizePsbt gRPC fails when sender utxo information is missing. I see no good reason to remove utxo information from the PSBT.
  • Loading branch information
DanGould authored Dec 20, 2022
1 parent 15c8203 commit 764e853
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bip-0078.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ The sender should check the payjoin proposal before signing it to prevent a mali
** If it is one of the sender's input
*** Verify that input's sequence is unchanged.
*** Verify the PSBT input is not finalized
*** Verify that <code>non_witness_utxo</code> and <code>witness_utxo</code> are not specified.
** If it is one of the receiver's input
*** Verify the PSBT input is finalized
*** Verify that <code>non_witness_utxo</code> or <code>witness_utxo</code> are filled in.
Expand Down

0 comments on commit 764e853

Please sign in to comment.