Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
rouzwelt committed Dec 17, 2024
1 parent a02af84 commit 46f8106
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/processOrders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,14 @@ export const processOrders = async (
takeOrders: [pairOrders.takeOrders[i]],
};

await tracer.startActiveSpan("pre-signer", {}, ctx, async (span) => {
span.end();
});
// await for first available signer to get free
const signer = await getSigner(accounts, mainAccount, true);
await tracer.startActiveSpan("post-signer", {}, ctx, async (span) => {
span.end();
});

const writeSigner = config.writeRpc
? await createViemClient(
Expand Down

0 comments on commit 46f8106

Please sign in to comment.