Closed sirdeggen closed 6 months ago
It would be nice to see a test case for the old behavior, to make sure it doesn't get re-introduced in the future. If Zan has this available from when the issue was caught, it might be good to capture.
For future reference, the change came from comparing the code with the BitcoinJ library in Java.
Thanks Zan from Rock Wallet / nChain team for the patch.
There were a few missing Mod N operations which meant some signatures recovered the incorrect pubkey.