From 9fd4f50cbd5863bc5708749aaa341c859db48c40 Mon Sep 17 00:00:00 2001 From: ThetaSinner Date: Tue, 13 Aug 2024 20:28:56 +0100 Subject: [PATCH] Format --- ts/src/trycp/conductor/scenario.ts | 2 +- ts/src/util.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ts/src/trycp/conductor/scenario.ts b/ts/src/trycp/conductor/scenario.ts index ce2c09de..d5797491 100644 --- a/ts/src/trycp/conductor/scenario.ts +++ b/ts/src/trycp/conductor/scenario.ts @@ -138,7 +138,7 @@ export class TryCpScenario { // create conductors for each client for (let i = 0; i < numberOfConductorsPerClient; i++) { const conductorCreated = client - .addConductor({partialConfig: options?.partialConfig}) + .addConductor({ partialConfig: options?.partialConfig }) .then(async (conductor) => { const app = options.app; let appOptions; diff --git a/ts/src/util.ts b/ts/src/util.ts index 52176616..88cf93f4 100644 --- a/ts/src/util.ts +++ b/ts/src/util.ts @@ -83,7 +83,9 @@ export const areConductorCellsDhtsSynced = async ( (op) => { if ("ChainOp" in op) { // Secondly sort by chain op signature. - return Buffer.from(Object.values(op.ChainOp)[0][0]).toString('base64'); + return Buffer.from(Object.values(op.ChainOp)[0][0]).toString( + "base64" + ); } else { // Sorting by signatures is sufficient for warrant ops. }