From a2d760dcdb13a1ddcbbfc62a9d3ac18039e2f6bf Mon Sep 17 00:00:00 2001 From: moneromooo Date: Sun, 11 Jan 2015 16:28:20 +0000 Subject: [PATCH] Make mixin configurable --- tipbot/config.py | 1 + tipbot/modules/withdraw.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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)