From ff566f23e19c06de45f1f49fdfec67b87d42aacd Mon Sep 17 00:00:00 2001 From: Javier Viola Date: Fri, 24 Nov 2023 13:25:58 -0300 Subject: [PATCH] lint --- .../packages/orchestrator/src/jsapi-helpers/chainUpgrade.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/packages/orchestrator/src/jsapi-helpers/chainUpgrade.ts b/javascript/packages/orchestrator/src/jsapi-helpers/chainUpgrade.ts index 761313d04..80032392d 100644 --- a/javascript/packages/orchestrator/src/jsapi-helpers/chainUpgrade.ts +++ b/javascript/packages/orchestrator/src/jsapi-helpers/chainUpgrade.ts @@ -129,7 +129,7 @@ async function performChainUpgrade(api: ApiPromise, code: string) { return resolve(); } else if (result.isError) { unsub(); - if(result.status.isInvalid) { + if (result.status.isInvalid) { // Allow `invalid` tx, since we will validate the hash of the `code` later // The problem being that there are forks // Block X is build with the tx included