Skip to content

Commit 9155468

Browse files
committed
chore: make lint happy
1 parent 1a946f7 commit 9155468

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

main/guides/orchestration/contract-walkthroughs/send-anywhere.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ This validation ensures that the proposal shape submitted by users contains exac
5252
The contract defines a shared state record as below:
5353

5454
```js
55-
const sharedLocalAccountP = zone.makeOnce('localAccount', () =>
56-
makeLocalAccount(),
57-
);
55+
const sharedLocalAccountP = zone.makeOnce('localAccount', () =>
56+
makeLocalAccount()
57+
);
5858
```
5959

60-
`sharedLocalAccountP` stores the local account that will hold the transferred assets temporarily before they
60+
`sharedLocalAccountP` stores the local account that will hold the transferred assets temporarily before they
6161
are sent to the destination address. Since this is initialized with a promise (`makeOnce` returns a promise, so
62-
we add a `P` to the variable name), uses of `sharedLocalAccountP` will have to await it before making use of it.
62+
we add a `P` to the variable name), uses of `sharedLocalAccountP` will have to await it before making use of it.
6363

6464
### Logging setup
6565

@@ -81,7 +81,7 @@ these functions with the necessary context (such as the contract state, logging,
8181
const orchFns = orchestrateAll(flows, {
8282
log,
8383
sharedLocalAccountP,
84-
zoeTools,
84+
zoeTools
8585
});
8686
```
8787

@@ -137,8 +137,8 @@ Upon receiving an offer, the `sendIt` function:
137137
- Validates the offer arguments using [endo's pattern-matching library](https://github.com/endojs/endo/tree/master/packages/patterns) to ensure the correct structure is submitted.
138138
- Retrieves the `proposal` from the seat, extracting (from `give`) the asset (`brand` and `amount`) being transferred.
139139
- The contract ensures that the asset brand is registered on the local chain by querying the chain’s asset registry
140-
(`vbank`). If not the contract throws an error and exits the transaction. It also gets the `denom` for the
141-
destination chain from the `vbank`.
140+
(`vbank`). If not the contract throws an error and exits the transaction. It also gets the `denom` for the
141+
destination chain from the `vbank`.
142142
- retrieves the `chainId` for the remote chain.
143143

144144
```js

0 commit comments

Comments
 (0)