Browse Source

Merge #533: Fix sweep in scripts/sendpayment.py

b3e9a6f270 Fix sweep in scripts/sendpayment.py (James Hilliard)

Pull request description:

ACKs for top commit:
  kristapsk:
    utACK b3e9a6f270

Tree-SHA512: a30839e27fb541336d356620b2c4604f22347e7694cc997dbb313c6f4722ef4340c73038112f08a721658d29640e8df65204ac986075399df9984351f235cd3b
master
Kristaps Kaupe 6 years ago
parent
commit
a01149f99c
No known key found for this signature in database
GPG Key ID: D47B1B4232B55437
  1. 2
      scripts/sendpayment.py

2
scripts/sendpayment.py

@ -72,7 +72,7 @@ def main():
if not addr_valid:
jmprint('ERROR: Address invalid. ' + errormsg, "error")
sys.exit(EXIT_ARGERROR)
if amount < DUST_THRESHOLD:
if sweeping == False and amount < DUST_THRESHOLD:
jmprint('ERROR: Amount ' + btc.amount_to_str(amount) +
' is below dust threshold ' +
btc.amount_to_str(DUST_THRESHOLD) + '.', "error")

Loading…
Cancel
Save