From 7827a266851567b97032f178f7f1fa034dfec26a Mon Sep 17 00:00:00 2001 From: Erik De Smedt Date: Fri, 16 Feb 2024 15:18:19 +0100 Subject: [PATCH] Docfix: connec-notification The previous example was updated. --- .../plugin-development/event-notifications.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/doc/developers-guide/plugin-development/event-notifications.md b/doc/developers-guide/plugin-development/event-notifications.md index d5fb14ea2..d85cf2f56 100644 --- a/doc/developers-guide/plugin-development/event-notifications.md +++ b/doc/developers-guide/plugin-development/event-notifications.md @@ -101,10 +101,14 @@ A notification for topic `connect` is sent every time a new connection to a peer ```json { - "connect": { - "id": "02f6725f9c1c40333b67faea92fd211c183050f28df32cac3f9d69685fe9665432", - "direction": "in", - "address": "1.2.3.4:1234" + "connect" : { + "address" : { + "address" : "127.0.0.1", + "port" : 38012, + "type" : "ipv4" + }, + "direction" : "in", + "id" : "022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59" } } ```