mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
Add SubAddress class
This commit is contained in:
parent
40fd464a12
commit
45516ec33f
3 changed files with 68 additions and 9 deletions
|
@ -7,7 +7,7 @@ import requests
|
|||
|
||||
from .. import exceptions
|
||||
from ..account import Account
|
||||
from ..address import Address
|
||||
from ..address import address
|
||||
from ..numbers import from_atomic, to_atomic
|
||||
|
||||
_log = logging.getLogger(__name__)
|
||||
|
@ -79,7 +79,7 @@ class JSONRPC(object):
|
|||
data = {
|
||||
'account_index': account,
|
||||
'destinations': list(map(
|
||||
lambda dst: {'address': str(Address(dst[0])), 'amount': to_atomic(dst[1])},
|
||||
lambda dst: {'address': str(address(dst[0])), 'amount': to_atomic(dst[1])},
|
||||
destinations)),
|
||||
'mixin': mixin,
|
||||
'priority': priority,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue