scrtlabs / snip20-reference-impl

This is a reference implementation of the SNIP-20 standard.
Apache License 2.0
55 stars 36 forks source link

Fix self transfer duplicate history #19

Closed reuvenpo closed 3 years ago

reuvenpo commented 3 years ago

This bug was reported by @baedrik .

Added checks when saving history, making sure history is never recorded twice in the same address's history

reuvenpo commented 3 years ago

Thanks @baedrik for reporting this issue and helping me find an elegant solution for it 🎉