toncenter / ton-http-api

HTTP API for TON (The Open Network)
https://toncenter.com
GNU General Public License v3.0
164 stars 27 forks source link

raw.getTransactions returns zero lt for outgoing messages without destination #33

Closed mr-tron closed 2 years ago

mr-tron commented 2 years ago

https://toncenter.com/api/v2/getTransactions?address=-1%3A34517C7BDF5187C55AF4F8B61FDC321588C7AB768DEE24B006DF29106458D7CF&limit=10&lt=17828016000008&hash=9793335A3E62194583C4B33CA2BE580858E70087BFEC6CE4820A70442DC526B8&to_lt=0&archival=true

{
          "@type": "raw.message",
          "source": "Ef80UXx731GHxVr0-LYf3DIViMerdo3uJLAG3ykQZFjXz2kW",
          "destination": "",
          "value": "0",
          "fwd_fee": "0",
          "ihr_fee": "0",
          "created_lt": "0",                         <------------------------------------HERE
          "body_hash": "hkBYoo2dtpScy7a2j50y0K6zxoMtVJXAa6PfbLUm3o4=",
          "msg_data": {
            "@type": "msg.dataRaw",
            "body": "te6cckEBAQEAEQAAHQAEhlbGxvLCB3b3JsZCGCGWjAc=",
            "init_state": ""
          },
          "message": "AASGVsbG8sIHdvcmxkIQ\n"
        },
dungeon-master-666 commented 2 years ago

Thanks for reporting. Fixed and rolled out.