diff --git a/pytonlib/client.py b/pytonlib/client.py index ef0fec8..de376b7 100644 --- a/pytonlib/client.py +++ b/pytonlib/client.py @@ -732,6 +732,7 @@ async def try_locate_tx_by_outcoming_message(self, source, destination, creation for tx in txses: try: for msg in tx["out_msgs"]: + if not msg["destination"]: continue if detect_address(msg["destination"])["raw_form"] == dest["raw_form"]: if int(msg["created_lt"]) == int(creation_lt): return tx