Files
pallectrum/electrum
bitromortac 64ecf8539a swaps: fix normal amount formulas
In a normal (forward) swap (onchain->offchain):
send_amount = receive_amount * (1 + service_percentage) + normal_fee ,
and vice versa:
receive_amount = (send_amount + normal_fee) / (1 + service_percentage) ,
i.e., the service fee is charged on the received offchain amount.
2020-12-17 07:25:54 +01:00
..
2020-06-23 19:25:07 +02:00
2020-08-20 18:58:52 +02:00
2020-12-08 12:21:56 +01:00
2020-11-20 08:51:01 +01:00
2020-11-20 08:51:01 +01:00
2020-10-23 02:17:31 +00:00
2020-10-07 20:39:00 +02:00
2020-12-09 16:09:12 +01:00
2020-12-09 14:10:50 +01:00