Browse Source

use btc.amount_to_str for potentially earned

master
unofficial bisq contributor 4 years ago committed by GitHub
parent
commit
d7d2de3f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      jmclient/jmclient/maker.py

2
jmclient/jmclient/maker.py

@ -215,7 +215,7 @@ class Maker(object):
my_total_in = sum([va['value'] for va in utxos.values()])
real_cjfee = calc_cj_fee(ordertype, cjfee, amount)
expected_change_value = (my_total_in - amount - txfee + real_cjfee)
jlog.info('potentially earned = {}'.format(real_cjfee - txfee))
jlog.info('potentially earned = {}'.format(btc.amount_to_str(real_cjfee - txfee)))
jlog.info('mycjaddr, mychange = {}, {}'.format(cjaddr, changeaddr))
#The remaining checks are needed to ensure

Loading…
Cancel
Save