notification: connect with json key connect

This commit is contained in:
Shahana Farooqui
2023-06-27 19:24:44 -07:00
committed by Rusty Russell
parent d58414b062
commit e247d16536
3 changed files with 24 additions and 7 deletions

View File

@@ -87,9 +87,11 @@ A notification for topic `connect` is sent every time a new connection to a peer
```json
{
"id": "02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432",
"direction": "in",
"address": "1.2.3.4:1234"
"connect": {
"id": "02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432",
"direction": "in",
"address": "1.2.3.4:1234"
}
}
```