mirror of
https://git.wownero.com/wownero/tippero.git
synced 2024-08-15 00:33:14 +00:00
Make mixin configurable
This commit is contained in:
parent
0dc90676c8
commit
a2d760dcdb
2 changed files with 2 additions and 1 deletions
|
@ -32,6 +32,7 @@ wallet_port = 6061
|
||||||
wallet_update_time = 30 # seconds
|
wallet_update_time = 30 # seconds
|
||||||
withdrawal_fee=None # None defaults to the network default fee
|
withdrawal_fee=None # None defaults to the network default fee
|
||||||
min_withdraw_amount = None # None defaults to the withdrawal fee
|
min_withdraw_amount = None # None defaults to the withdrawal fee
|
||||||
|
withdrawal_mixin=0
|
||||||
disable_withdraw_on_error = True
|
disable_withdraw_on_error = True
|
||||||
|
|
||||||
admins = ["moneromooo", "moneromoo"]
|
admins = ["moneromooo", "moneromoo"]
|
||||||
|
|
|
@ -106,7 +106,7 @@ def Withdraw(nick,chan,cmd):
|
||||||
'destinations': [{'address': address, 'amount': topay}],
|
'destinations': [{'address': address, 'amount': topay}],
|
||||||
'payment_id': GetPaymentID(nick),
|
'payment_id': GetPaymentID(nick),
|
||||||
'fee': fee,
|
'fee': fee,
|
||||||
'mixin': 0,
|
'mixin': config.withdrawal_mixin,
|
||||||
'unlock_time': 0,
|
'unlock_time': 0,
|
||||||
}
|
}
|
||||||
j = SendWalletJSONRPCCommand("transfer",params)
|
j = SendWalletJSONRPCCommand("transfer",params)
|
||||||
|
|
Loading…
Reference in a new issue