discreetlogcontracts / dlcspecs

Specification for Discreet Log Contracts
Creative Commons Attribution 4.0 International
238 stars 36 forks source link

Correct Typo in Signature Point calculation #206

Closed SachinMeier closed 1 year ago

SachinMeier commented 1 year ago

in BIP340, the signature Point is calculated like so: s⋅G = R + hash(R || P || m)⋅P. Unless the order of inputs to the hash function is changed here from BIP 340, this is a typo.

see: https://github.com/bitcoin/bips/blob/master/bip-0340.mediawiki#design