aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSonic <sonic@cobinhood.com>2018-10-15 16:52:57 +0800
committerWei-Ning Huang <w@dexon.org>2018-12-19 20:54:27 +0800
commitb18e8b5c2a10479d6a1f76d5b8a3b5f5d5097cd3 (patch)
tree6d275a7b26428316a0dbffe7a4ba920d847790b9
parenta93e7a66e0634b2384ef694518c80536075c6299 (diff)
downloaddexon-b18e8b5c2a10479d6a1f76d5b8a3b5f5d5097cd3.tar
dexon-b18e8b5c2a10479d6a1f76d5b8a3b5f5d5097cd3.tar.gz
dexon-b18e8b5c2a10479d6a1f76d5b8a3b5f5d5097cd3.tar.bz2
dexon-b18e8b5c2a10479d6a1f76d5b8a3b5f5d5097cd3.tar.lz
dexon-b18e8b5c2a10479d6a1f76d5b8a3b5f5d5097cd3.tar.xz
dexon-b18e8b5c2a10479d6a1f76d5b8a3b5f5d5097cd3.tar.zst
dexon-b18e8b5c2a10479d6a1f76d5b8a3b5f5d5097cd3.zip
dex: add subprotocols
-rw-r--r--dex/backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dex/backend.go b/dex/backend.go
index d0ddab523..671b2f63f 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 {