Skip to content

Commit

Permalink
Experiments to see if transaction could be found in mirrornode
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantina Blazhukova <[email protected]>
  • Loading branch information
konstantinabl committed Oct 21, 2024
1 parent c66cad2 commit 7963929
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/relay/src/lib/clients/sdkClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,7 @@ export class SDKClient {
);

if (!transactionResponse) {
await new Promise((resolve) => setTimeout(resolve, 2000));

Check warning on line 760 in packages/relay/src/lib/clients/sdkClient.ts

View check run for this annotation

Codecov / codecov/patch

packages/relay/src/lib/clients/sdkClient.ts#L760

Added line #L760 was not covered by tests
const transactionId = transaction.transactionId ? transaction.transactionId.toString() : false;
console.log('Transaction id', transactionId);

Check warning on line 762 in packages/relay/src/lib/clients/sdkClient.ts

View check run for this annotation

Codecov / codecov/patch

packages/relay/src/lib/clients/sdkClient.ts#L762

Added line #L762 was not covered by tests
if (transactionId) {
Expand Down

0 comments on commit 7963929

Please sign in to comment.