f321x / cashu-escrow-kit

Ecash escrow provider and client concept. Ecash hackathon project with @rodant.
MIT License
14 stars 3 forks source link

Prevent coordinator from accepting the same event twice #32

Closed f321x closed 2 months ago

f321x commented 2 months ago

Addresses https://github.com/f321x/cashu-escrow-kit/issues/12 by storing the EventIDs of the main giftwrap events in a HashSet. This should reliably prevent interpreting the same event twice by accident.