AthanorLabs/atomic-swap

ensure XMR taker has sufficient funds (including all gas costs)

dimalinux opened this issue · 0 comments

We should verify that the XMR taker has enough funds for all of the following before allowing her to take an offer:
Provided amount + NewSwap Gas + SetRead Gas + Refund Gas

Right now we only verify that the taker has enough ETH for the provided amount.