AthanorLabs / atomic-swap

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

`swapcli past` should subtract relayer fee if needed #419

Closed noot closed 1 year ago

noot commented 1 year ago
$ ./bin/swapcli past
Past swaps:
ID: 0xabdd2c94ccda33d8a86a1bdcbd5f229eeea29f477c55a2d44ac5291a391b5d13
Start time: 2023-04-25-14:23:37
End time: 2023-04-25-15:10:52
Provided: 0.105813953488 XMR
Received: 0.0091 ETH
Exchange Rate: 0.086 ETH/XMR
Status: Success

This is the current output of swapcli past, however, the Received amount does not subtract the relayer fee. we should leave a note that says Received: 0.0091 ETH (minus 0.009 ETH relayer fee) or something like that.