Skip to content
This repository has been archived by the owner on May 13, 2022. It is now read-only.

Commit

Permalink
bugfix: maxmixdepth must be at least -m value in sendpayment
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamISZ committed Nov 19, 2016
1 parent b12406c commit c9aa523
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sendpayment.py
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ def main():
exit(0)

if not options.userpcwallet:
wallet = Wallet(wallet_name, options.amtmixdepths, options.gaplimit)
max_mix_depth = max([options.mixdepth, options.amtmixdepths])
wallet = Wallet(wallet_name, max_mix_depth, options.gaplimit)
else:
wallet = BitcoinCoreWallet(fromaccount=wallet_name)
sync_wallet(wallet, fast=options.fastsync)
Expand Down

0 comments on commit c9aa523

Please sign in to comment.