Unexpected things can happen in production like a NewSwap transaction getting mined 2 hours after it was sent. We should save the TX ID to the database before waiting for its receipt, so out tooling still help the user make a refund if the TX gets mined, even if swapd is shutdown before the TX is included in a block.
Unexpected things can happen in production like a NewSwap transaction getting mined 2 hours after it was sent. We should save the TX ID to the database before waiting for its receipt, so out tooling still help the user make a refund if the TX gets mined, even if swapd is shutdown before the TX is included in a block.