Skip to content

Commit

Permalink
fix(mobile): Fix breaking change (#873)
Browse files Browse the repository at this point in the history
  • Loading branch information
voloshinskii authored May 22, 2024
1 parent b240987 commit b8d2e19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/shared/utils/blockchain.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export class IndexerLatencyError extends Error {}

export async function sendBoc(boc, attemptWithRelayer = true) {
const { rest_online, indexing_latency } =
(await tk.wallet.tonapi.status.reduceIndexingLatency()) as ServiceStatus;
(await tk.wallet.tonapi.status.status()) as ServiceStatus;

if (!rest_online || indexing_latency > TransactionService.TTL - 30) {
throw new IndexerLatencyError(t('indexer_latency_error'));
Expand Down

0 comments on commit b8d2e19

Please sign in to comment.