From 447c36e41e989d9e60c70ecc7a1a45bb1814009f 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(-) 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 v1.2.3