secretkeylabs / xverse-core

Core library for Xverse wallet
Other
39 stars 19 forks source link

Add inputs to sign arg to PSBT logic #333

Closed victorkirov closed 11 months ago

victorkirov commented 11 months ago

TODO: Unit testing

🔘 PR Type

What kind of change does this PR introduce?

📜 Background

The new PSBT logic ignored the inputs to sign arg from sats connect. It actually needs to process them in case of a multisig scenario where we cannot match the inputs witness script to the pub key.

🔄 Changes

Does this PR introduce a breaking change?

Changes:

To test:

✅ Review checklist

Please ensure the following are true before merging:

github-actions[bot] commented 11 months ago

Test this PR with npm i --save-exact @secretkeylabs/xverse-core@7.2.0-dcc9c2b