Skip to content

Commit

Permalink
agent sync time
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock committed Oct 26, 2023
1 parent 2516300 commit 2aafaa3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
23 changes: 0 additions & 23 deletions e2e/node/basic/count.ts

This file was deleted.

2 changes: 1 addition & 1 deletion e2e/node/utils/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ export const makeAgent = async (options?: HttpAgentOptions) => {
const agent = new HttpAgent({
host: `http://127.0.0.1:${process.env.REPLICA_PORT ?? 4943}`,
fetch: global.fetch ?? fetch,
verifyQuerySignatures: false,
...options,
});
try {
await agent.fetchRootKey();
await agent.syncTime();
} catch (_) {
//
}
Expand Down

0 comments on commit 2aafaa3

Please sign in to comment.