From 4dbdc22e355cf1f6f0c39af1b2f3737b7527bc0c Mon Sep 17 00:00:00 2001 From: Mission Liao Date: Fri, 15 Feb 2019 14:18:59 +0800 Subject: big-bang: single chain (#446) --- simulation/marshaller.go | 8 -------- 1 file changed, 8 deletions(-) (limited to 'simulation/marshaller.go') 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: -- cgit v1.2.3