discreetlogcontracts / dlcspecs

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

Specify not to round above total collateral #207

Open Tibo-lg opened 1 year ago

Tibo-lg commented 1 year ago

@luckysori found an issue in rust dlc where the payout was being rounded above the total collateral of the contract. This PR updates the spec to specify that one should make sure to always round below the total collateral. I don't know if bitcoin-s has this issue or not.