Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
KarishmaBothara committed Oct 30, 2024
1 parent 3f7568d commit a4db26f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ withChainApi("porcini", async (api, caller, logger) => {
const maybeTimepoint = api.registry.createType("Option<Timepoint>", 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,
Expand Down

0 comments on commit a4db26f

Please sign in to comment.