secretkeylabs / xverse-core

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

Remove assumptions that inputs and outputs must have positive amount … #344

Closed victorkirov closed 10 months ago

victorkirov commented 10 months ago

…values

🔘 PR Type

What kind of change does this PR introduce?

📜 Background

There was a check to ensure all inputs and outputs had a positive value, but that is not necessarily the case when you have a script output or dummy inputs/outputs on a non-sighash-all txn.

🔄 Changes

Does this PR introduce a breaking change?

Changes:

✅ Review checklist

Please ensure the following are true before merging:

github-actions[bot] commented 10 months ago

Test this PR with npm i --save-exact @secretkeylabs/xverse-core@8.0.0-c94b35d