mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Bugfixing: mixin vs ringsize, get_addresses() in wallet
This commit is contained in:
parent
a1849cab8d
commit
1be5d0b063
3 changed files with 14 additions and 11 deletions
|
@ -115,13 +115,13 @@ class JSONRPCWallet(object):
|
|||
'blob': tx.get('blob', None),
|
||||
}
|
||||
|
||||
def transfer(self, destinations, priority, mixin, payment_id=None, unlock_time=0, account=0):
|
||||
def transfer(self, destinations, priority, ringsize, payment_id=None, unlock_time=0, account=0):
|
||||
data = {
|
||||
'account_index': account,
|
||||
'destinations': list(map(
|
||||
lambda dst: {'address': str(address(dst[0])), 'amount': to_atomic(dst[1])},
|
||||
destinations)),
|
||||
'mixin': mixin,
|
||||
'mixin': ringsize - 1,
|
||||
'priority': priority,
|
||||
'unlock_time': 0,
|
||||
'get_tx_keys': True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue