aboutsummaryrefslogtreecommitdiffstats
path: root/simulation/marshaller.go
diff options
context:
space:
mode:
Diffstat (limited to 'simulation/marshaller.go')
-rw-r--r--simulation/marshaller.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/simulation/marshaller.go b/simulation/marshaller.go
index 6f8aee4..4d2b511 100644
--- a/simulation/marshaller.go
+++ b/simulation/marshaller.go
@@ -36,12 +36,6 @@ func (m *jsonMarshaller) Unmarshal(
break
}
msg = notif
- case "blocklist":
- var blocks BlockList
- if err = json.Unmarshal(payload, &blocks); err != nil {
- break
- }
- msg = &blocks
case "message":
var m message
if err = json.Unmarshal(payload, &m); err != nil {
@@ -63,8 +57,6 @@ func (m *jsonMarshaller) Marshal(msg interface{}) (
switch msg.(type) {
case serverNotification:
msgType = "server-notif"
- case *BlockList:
- msgType = "blocklist"
case *message:
msgType = "message"
default: