Browse Source

Merge JoinMarket-Org/joinmarket-clientserver#1025: Show fidelity bond value in manual order picking

0e80b2dee7 Show fidelity bond value in manual order picking (Kristaps Kaupe)

Pull request description:

  .

Top commit has no ACKs.

Tree-SHA512: c9ace4fd09f7bd36abd8fe887a6cd17d47e34f504fc0f30dcd6ef959f8af68b49fcafacd44dff7d91d651234e4c1c45a226ec731c09fc7fb1d447306b5abee6a
master
Kristaps Kaupe 4 years ago
parent
commit
991ef16aed
No known key found for this signature in database
GPG Key ID: 33E472FE870C7E5D
  1. 5
      scripts/sendpayment.py

5
scripts/sendpayment.py

@ -31,8 +31,9 @@ log = get_log()
def pick_order(orders, n): #pragma: no cover
jmprint("Considered orders:", "info")
for i, o in enumerate(orders):
jmprint(" %2d. %20s, CJ fee: %6s, tx fee: %6d" %
(i, o[0]['counterparty'], str(o[0]['cjfee']), o[0]['txfee']), "info")
jmprint(" %2d. %20s, CJ fee: %6s, tx fee: %6d, FB value: %f" %
(i, o[0]['counterparty'], str(o[0]['cjfee']), o[0]['txfee'],
o[0]['fidelity_bond_value']), "info")
pickedOrderIndex = -1
if i == 0:
jmprint("Only one possible pick, picking it.", "info")

Loading…
Cancel
Save