From caeada08e4a804294d247106b57f66bf147a7fa0 Mon Sep 17 00:00:00 2001 From: Sonic Date: Mon, 15 Oct 2018 16:52:57 +0800 Subject: dex: add subprotocols --- dex/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dex/backend.go') diff --git a/dex/backend.go b/dex/backend.go index c0cfe3d7f..2d4c43547 100644 --- a/dex/backend.go +++ b/dex/backend.go @@ -173,7 +173,7 @@ func New(ctx *node.ServiceContext, config *Config) (*Dexon, error) { } func (s *Dexon) Protocols() []p2p.Protocol { - return nil + return s.protocolManager.SubProtocols } func (s *Dexon) APIs() []rpc.API { -- cgit