aboutsummaryrefslogtreecommitdiffstats
path: root/p2p
diff options
context:
space:
mode:
Diffstat (limited to 'p2p')
-rw-r--r--p2p/simulations/events.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/p2p/simulations/events.go b/p2p/simulations/events.go
index f17958c68..9b2a990e0 100644
--- a/p2p/simulations/events.go
+++ b/p2p/simulations/events.go
@@ -58,6 +58,9 @@ type Event struct {
// Msg is set if the type is EventTypeMsg
Msg *Msg `json:"msg,omitempty"`
+
+ //Optionally provide data (currently for simulation frontends only)
+ Data interface{} `json:"data"`
}
// NewEvent creates a new event for the given object which should be either a