secretkeylabs / xverse-core

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

fix bitwise ops #342

Closed victorkirov closed 10 months ago

victorkirov commented 10 months ago

🔘 PR Type

What kind of change does this PR introduce?

📜 Background

SigHash calcs were incorrect due to using bitwise OR instead of AND, resulting in the wrong data being shown on the extension PSBT signing screen.

🔄 Changes

Does this PR introduce a breaking change?

✅ 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@7.2.0-b73af64