Make mixin configurable

This commit is contained in:
moneromooo 2015-01-11 16:28:20 +00:00
parent 0dc90676c8
commit a2d760dcdb
2 changed files with 2 additions and 1 deletions

View file

@ -32,6 +32,7 @@ wallet_port = 6061
wallet_update_time = 30 # seconds
withdrawal_fee=None # None defaults to the network default fee
min_withdraw_amount = None # None defaults to the withdrawal fee
withdrawal_mixin=0
disable_withdraw_on_error = True
admins = ["moneromooo", "moneromoo"]

View file

@ -106,7 +106,7 @@ def Withdraw(nick,chan,cmd):
'destinations': [{'address': address, 'amount': topay}],
'payment_id': GetPaymentID(nick),
'fee': fee,
'mixin': 0,
'mixin': config.withdrawal_mixin,
'unlock_time': 0,
}
j = SendWalletJSONRPCCommand("transfer",params)