btcsuite / btcd

An alternative full node bitcoin implementation written in Go (golang)
https://github.com/btcsuite/btcd/blob/master/README.md
ISC License
6.1k stars 2.31k forks source link

schnorr: simplify some signing math #2042

Closed wydengyre closed 7 months ago

wydengyre commented 8 months ago

We reuse the Bytes() function rather than duplicating its logic.

kcalvinalvin commented 7 months ago

ACK 7693d7f2dd7dd2ebe42c48681d4c9dbec886c6c9

Checked that the existing code is just a duplicate of FieldVal.Bytes()