toncenter / tonweb

JavaScript SDK for TON (The Open Network)
MIT License
432 stars 107 forks source link

ERR_UNHANDLED_REJECTION #134

Open fastikprog opened 2 months ago

fastikprog commented 2 months ago
async get_history() {
    const history = await this.tonWeb.getTransactions('UQDZSR9YROpLWiIkgzOdlZSZs5OJnMghzMhWvZST4tRXpURr');
    console.log(history);
  }
}

*node:internal/process/promises:289 triggerUncaughtException(err, true / fromPromise */); ^

[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "LITE_SERVER_UNKNOWN: cannot locate transaction in block with specified logical time".] { code: 'ERR_UNHANDLED_REJECTION' }**