aboutsummaryrefslogtreecommitdiffstats
path: root/dex/backend.go
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-10-15 16:52:57 +0800
committerWei-Ning Huang <w@dexon.org>2019-03-12 12:19:09 +0800
commitcaeada08e4a804294d247106b57f66bf147a7fa0 (patch)
treeebeb6ee001b33a44efeb7d344db0caa231693916 /dex/backend.go
parent8ca2b78b1f5070b58bf2a6ba5b50051eb1613070 (diff)
downloaddexon-caeada08e4a804294d247106b57f66bf147a7fa0.tar.gz
dexon-caeada08e4a804294d247106b57f66bf147a7fa0.tar.zst
dexon-caeada08e4a804294d247106b57f66bf147a7fa0.zip
dex: add subprotocols
Diffstat (limited to 'dex/backend.go')
-rw-r--r--dex/backend.go2
1 files changed, 1 insertions, 1 deletions
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 {