Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
goncer committed Nov 29, 2023
1 parent 6cc6017 commit a8d445f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions utils/setupsOnTheGo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export async function vote(motionId: number) {
console.info("proposal " + JSON.stringify(allProposals[0][0].toHuman()));
const hash = proposal?.[0].toHuman()!.toString();
console.info("hash " + hash);
const txs : Extrinsic[] = [];
const txs: Extrinsic[] = [];
allMembers.forEach((x) => {
txs.push(
Sudo.sudoAsWithAddressString(
Expand Down Expand Up @@ -298,10 +298,7 @@ export async function printAllTxsDoneByUser(userAddress: string) {
while (currBlock > 0) {
const blockHash = await api.rpc.chain.getBlockHash(currBlock);
const block = await api.rpc.chain.getBlock(blockHash);
if (currBlock === 324) {
let a = 0;
console.log(a);
}

const txs = block.block.extrinsics.filter(
(x: any) => x.signer.toString() === userAddress,
) as any;
Expand Down

0 comments on commit a8d445f

Please sign in to comment.