Update content/tutorials/build-apps/build-a-desktop-wallet-in-javascript.md

Co-authored-by: Jackson Mills <aim4math@gmail.com>
This commit is contained in:
Alexander Busse
2023-07-13 09:07:30 +02:00
committed by GitHub
parent 27de16979e
commit 04d95be593

View File

@@ -667,7 +667,7 @@ const { prepareReserve, prepareAccountData, prepareLedgerData} = require('./libr
const { prepareTxData } = require('./library/4_helpers') const { prepareTxData } = require('./library/4_helpers')
``` ```
3. In the main file, update the listener function subscribed to the `transaction` event by adding the following snippet: 3. In `index.js`, update the listener function subscribed to the `transaction` event by adding the following snippet:
```javascript ```javascript
// Wait for transaction on subscribed account and re-request account data // Wait for transaction on subscribed account and re-request account data