AthanorLabs / atomic-swap

💫 ETH-XMR atomic swap implementation
GNU Lesser General Public License v3.0
345 stars 44 forks source link

ongoing swaps should remove respective offer on restart #447

Closed noot closed 1 year ago

noot commented 1 year ago

currently, when the xmrmaker restarts in the middle of a swap, the offer and the swap are both loaded from the db on startup, but the offer is not removed from the offer manager as "taken", and thus is still returned when queried. the xmrmaker should remove ongoing swaps from the offer manager on restart.