diff options
Diffstat (limited to 'p2p/simulations/events.go')
-rw-r--r-- | p2p/simulations/events.go | 3 |
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 |