Closed OlegJakushkin closed 8 months ago
Yet sometimes it does not go after lt line
Which line?
Thank you, got it after reading rust examples. Python example would look like:
keys = tx.value.transaction.transaction.message.account_keys
if tx.value.transaction.transaction.message.address_table_lookups is not None:
for tl in tx.value.transaction.transaction.message.address_table_lookups:
lookup_ai = await aclient.get_account_info(tl.account_key)
tbl = address_lookup_table_account.AddressLookupTable.deserialize(lookup_ai.value.data)
keys.extend( [tbl.addresses[i] for i in tl.writable_indexes ])
keys.extend( [tbl.addresses[i] for i in tl.readonly_indexes ])
So I try:
Yet sometimes it does not go after
lt
line silently and sometimes it throws:How to expand address table correctly?