Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
harrysolovay committed Nov 7, 2022
1 parent f38b663 commit 8a57552
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions examples/batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ const recipients = [T.bob, T.charlie, T.dave, T.eve];

const env = C.Z.env();

const getBalances = C.Z.ls(
...recipients.map(({ publicKey }) => {
return C.entryRead(T.westend)("System", "Account", [publicKey])
.access("value").access("data").access("free");
}),
).bind(env);
// TODO: uncomment these lines upon solving `count` in zones
// const getBalances = C.Z.ls(
// ...recipients.map(({ publicKey }) => {
// return C.entryRead(T.westend)("System", "Account", [publicKey])
// .access("value").access("data").access("free");
// }),
// ).bind(env);

const runTx = C.extrinsic({
client: T.westend,
Expand Down

0 comments on commit 8a57552

Please sign in to comment.