Browse Source

Merge #330: Don't ask for maxcjfee limits in sendpayment when manual order picking (-P) is selected

5026809 Don't ask for maxcjfee limits when manual order picking is selected (Kristaps Kaupe)
master
AdamISZ 7 years ago
parent
commit
7fb3dd597b
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 3
      scripts/sendpayment.py

3
scripts/sendpayment.py

@ -115,7 +115,8 @@ def main():
options.txfee))
assert (options.txfee >= 0)
if not options.p2ep and options.makercount != 0:
maxcjfee = (1, float('inf'))
if not options.p2ep and not options.pickorders and options.makercount != 0:
maxcjfee = get_max_cj_fee_values(jm_single().config, options)
log.info("Using maximum coinjoin fee limits per maker of {:.4%}, {} "
"sat".format(*maxcjfee))

Loading…
Cancel
Save