BitBoxSwiss / bitbox02-firmware

Firmware code of the BitBox02 hardware wallet
https://bitbox.swiss/bitbox02
Apache License 2.0
215 stars 80 forks source link

Policy refactor #1228

Closed benma closed 2 weeks ago

benma commented 2 weeks ago

tACK, i can't see a problem. However I could not understand why this change was needed. Can you summarize shortly?

Thanks. Have you checked the commit messages? The script configs preprocess commit has a long explanation. The others are to prepare adding a Tr(...) Taproot enum entry next to Wsh() in ParsedPolicy, as Taproot policies will need re-use this.

asi345 commented 2 weeks ago

Oh you're right. Sorry I just missed the commit message paragraphs. Thanks!