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-28 11:54:07 +02:00
committed by GitHub
parent 64cca16dc2
commit 017623b9c2

View File

@@ -1350,7 +1350,7 @@ const { verify } = require('./library/8_helpers')
// Step 8 code additions - end // Step 8 code additions - end
``` ```
3. At the end of the callback function `ipcMain.on('send-xrp-action', callback)` add the following event handler: 3. After the callback function `ipcMain.on('send-xrp-action', callback)` add the following event handler:
```javascript ```javascript
ipcMain.on('send-xrp-action', (event, paymentData) => { ipcMain.on('send-xrp-action', (event, paymentData) => {