Skip to content

Commit 44aa4a4

Browse files
committed
Fix Typo in Display Node Alias and Balance
not -> now
1 parent 9c43da1 commit 44aa4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: build-a-lapp/connect-to-lnd/display-node-alias-and-balance.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export const getInfo = async (req: Request, res: Response) => {
3535
};
3636
```
3737

38-
In the `routes.ts` file, we added a new route handler function `getInfo()` which receives the user’s token, and first validates that it is valid. Then it uses the `NodeManager` class to get the RPC connection to the `lnd` node. With the rpc, we can not make two calls to lnd to fetch the alias and pubkey from getInfo\(\) and the balance from channelBalance\(\). Finally, we return this data to the client.
38+
In the `routes.ts` file, we added a new route handler function `getInfo()` which receives the user’s token, and first validates that it is valid. Then it uses the `NodeManager` class to get the RPC connection to the `lnd` node. With the rpc, we can now make two calls to lnd to fetch the alias and pubkey from getInfo\(\) and the balance from channelBalance\(\). Finally, we return this data to the client.
3939

4040
`source: /backend/index.ts`
4141

0 commit comments

Comments
 (0)