Conversation
fc57dfb to
46ceff9
Compare
|
I ended copying @bigspider's code. However there's no test coverage. I also can't manually test it on a device without passing the BIP-388 policy policy and (no BIP?) HMAC, which is a separate issue. |
|
Fixed a few bugs. I wanted to test this using #792 and taking some code from MooSig, but the latter changed the |
|
I think I get the gist of the |
|
I've been testing this with various wallets and I'm pretty sure it works now. Rebasing on #795 to make sure CI passes. |
f35fe9f to
337fd14
Compare
|
Fixed linter Looks like I accidentally dropped I also added the new test vectors, copied from Bitcoin Core. |
|
Rebased after #795 landed. |
hwilib/psbt.py
Outdated
| r += ser_string(b''.join(pubkeys)) | ||
|
|
||
| for (pk, aggpk, hash), pubnonce in self.musig2_pub_nonces.items(): | ||
| key_value = pk + aggpk + (hash or b'') |
There was a problem hiding this comment.
hash is the name of a builtin function in python, we should avoid naming variables hash.
Co-Authored-By: Salvatore Ingala <6681844+bigspider@users.noreply.github.com>
|
ACK 351b3e4 |
Fixes #783