You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
get_transaction for VersionedTransaction 0 is returning wrong values for pre_token_balances.
It's showing the same values as for post_token_balances:
transaction_data = client.get_transaction(tx_sig=tx_sig, max_supported_transaction_version=0)
transaction_data.value.transaction.meta.pre_token_balances
if transaction_data.value.transaction.meta.pre_token_balances == transaction_data.value.transaction.meta.post_token_balances:
logger.info('SAME VALUES!')
Logger:
SAME VALUES!
The bug seems to be occuring specifically for versioned transactions.
The text was updated successfully, but these errors were encountered:
Hello,
get_transaction for VersionedTransaction 0 is returning wrong values for pre_token_balances.
It's showing the same values as for post_token_balances:
The bug seems to be occuring specifically for versioned transactions.
The text was updated successfully, but these errors were encountered: