diff --git a/tipbot/config.py b/tipbot/config.py index 83fdecf..5cc3646 100644 --- a/tipbot/config.py +++ b/tipbot/config.py @@ -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"] diff --git a/tipbot/modules/withdraw.py b/tipbot/modules/withdraw.py index 051cc6d..cc910aa 100644 --- a/tipbot/modules/withdraw.py +++ b/tipbot/modules/withdraw.py @@ -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)