I am trying a lot to create a PSBT, sign it, and get the transaction tx. It fails on finalize after signing.
File "c:\Users\behra\Python\Python312\Lib\site-packages\buidl\psbt.py", line 521, in finalize
psbt_in.finalize()
File "c:\Users\behra\Python\Python312\Lib\site-packages\buidl\psbt.py", line 1535, in finalize
script_pubkey = self.script_pubkey()
^^^^^^^^^^^^^^^^^^^^
File "c:\Users\behra\Python\Python312\Lib\site-packages\buidl\psbt.py", line 1392, in script_pubkey
return self.prev_tx.tx_outs[self.tx_in.prev_index].script_pubkey
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'bytes' object has no attribute 'tx_outs'