From a4db26fd095c83816925995fca464a99fa69a637 Mon Sep 17 00:00:00 2001 From: KarishmaBothara Date: Wed, 30 Oct 2024 14:51:00 +0400 Subject: [PATCH] Format --- .../use-fp-multisig-wallet/src/createMultiSigWallet.ts | 2 +- .../use-fp-multisig-wallet/src/signBySecondHolder.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/substrate/use-fp-multisig-wallet/src/createMultiSigWallet.ts b/examples/substrate/use-fp-multisig-wallet/src/createMultiSigWallet.ts index 1f325de..087594c 100644 --- a/examples/substrate/use-fp-multisig-wallet/src/createMultiSigWallet.ts +++ b/examples/substrate/use-fp-multisig-wallet/src/createMultiSigWallet.ts @@ -8,7 +8,7 @@ export const command = "createMultiSigWallet"; export const desc = "Create a multisig wallet from given addresses"; // Create a multisig wallet from given addresses" -withChainApi("porcini", async (api, ) => { +withChainApi("porcini", async (api) => { const genesisHash = api.genesisHash; const signatoryList = [ "0xFFfFffFF000000000000000000000000000003CD", diff --git a/examples/substrate/use-fp-multisig-wallet/src/signBySecondHolder.ts b/examples/substrate/use-fp-multisig-wallet/src/signBySecondHolder.ts index e1cb35c..3b51a61 100644 --- a/examples/substrate/use-fp-multisig-wallet/src/signBySecondHolder.ts +++ b/examples/substrate/use-fp-multisig-wallet/src/signBySecondHolder.ts @@ -41,7 +41,10 @@ withChainApi("porcini", async (api, caller, logger) => { const maybeTimepoint = api.registry.createType("Option", timepoint); const proofSize = 882400098; console.log("maybeTimepointData::", maybeTimepoint.toHuman()); - const maxWeight = api.registry.createType("SpWeightsWeightV2Weight", {refTime: 646755879000, proofSize }); + const maxWeight = api.registry.createType("SpWeightsWeightV2Weight", { + refTime: 646755879000, + proofSize, + }); const multiSigCall = await api.tx.multisig.asMulti( threshold, signatoryList,