Retrieve subaddress index from response

This commit is contained in:
Michał Sałaban 2017-12-26 20:26:09 +01:00
parent 4b27cd6948
commit ddd54b6063

View file

@ -71,7 +71,8 @@ class JSONRPC(object):
'fee': from_atomic(pm['fee']),
'height': pm['height'],
'payment_id': pm['payment_id'],
'note': pm['note']
'note': pm['note'],
'subaddr': (pm['subaddr_index']['major'], pm['subaddr_index']['minor']),
}
def transfer(self, destinations, priority, mixin, unlock_time, account=0):