Browse Source

Merge #904: add missing whitespace to log

912b4d5140 add missing whitespace to log (unofficial bisq contributor)

Pull request description:

  Beforehand, nick string was appended with `totalin=`

ACKs for top commit:
  kristapsk:
    utACK 912b4d5140

Tree-SHA512: e93e7d6420584ba58f7f789fe866bc1d448e7c9205c9673eff3aa2be2a3e96cd4c2dd183a76480301ca16ff03e85d2c2bce3c1682a431c2fc7a51d9b06fc9cdf
master
Kristaps Kaupe 5 years ago
parent
commit
89f50a4ff4
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 2
      jmclient/jmclient/taker.py

2
jmclient/jmclient/taker.py

@ -433,7 +433,7 @@ class Taker(object):
# a change output of zero satoshis; this counterparty must be removed. # a change output of zero satoshis; this counterparty must be removed.
if change_amount < jm_single().DUST_THRESHOLD: if change_amount < jm_single().DUST_THRESHOLD:
fmt = ('ERROR counterparty requires sub-dust change. nick={}' fmt = ('ERROR counterparty requires sub-dust change. nick={}'
'totalin={:d} cjamount={:d} change={:d}').format ' totalin={:d} cjamount={:d} change={:d}').format
jlog.warn(fmt(nick, total_input, self.cjamount, change_amount)) jlog.warn(fmt(nick, total_input, self.cjamount, change_amount))
jlog.warn("Invalid change, too small, nick= " + nick) jlog.warn("Invalid change, too small, nick= " + nick)
continue continue

Loading…
Cancel
Save