Remove the ringsize parameter

This commit is contained in:
Michał Sałaban 2018-10-19 01:32:04 +02:00
parent 91c720ecee
commit 9d03995092
5 changed files with 6 additions and 65 deletions

View file

@ -287,7 +287,7 @@ class JSONRPCWallet(object):
{'signed_key_images': key_images})
return (_data['height'], from_atomic(_data['spent']), from_atomic(_data['unspent']))
def transfer(self, destinations, priority, ringsize,
def transfer(self, destinations, priority,
payment_id=None, unlock_time=0, account=0,
relay=True):
data = {
@ -295,7 +295,6 @@ class JSONRPCWallet(object):
'destinations': list(map(
lambda dst: {'address': str(address(dst[0])), 'amount': to_atomic(dst[1])},
destinations)),
'mixin': ringsize - 1,
'priority': priority,
'unlock_time': 0,
'get_tx_keys': True,