monero-ecosystem / monero-python

A comprehensive Python module for handling Monero cryptocurrency
BSD 3-Clause "New" or "Revised" License
244 stars 80 forks source link

Unknown tag when get the outputs of certain transactions #138

Open shupkat opened 1 year ago

shupkat commented 1 year ago

i get this error ValueError: offset 39: unknown tag 0x3

when I try to get outputs using this code

from monero.daemon import Daemon
from monero.backends.offline import OfflineWallet
from monero.wallet import Wallet
daemon = Daemon(port=18081)
w = Wallet(OfflineWallet("addr", spend_key="ssk", view_key="svk"))
print(daemon.transactions("38b6ec6a57f1bd040a9edf1c58a5af13204f21c30bf965422b94e4c899241b1d")[0].outputs(wallet=w))

this error does not appear on all transactions

monero==1.1.1 Python 3.10.8