diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-15 16:52:57 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-03-12 12:19:09 +0800 |
commit | caeada08e4a804294d247106b57f66bf147a7fa0 (patch) | |
tree | ebeb6ee001b33a44efeb7d344db0caa231693916 /dex | |
parent | 8ca2b78b1f5070b58bf2a6ba5b50051eb1613070 (diff) | |
download | dexon-caeada08e4a804294d247106b57f66bf147a7fa0.tar.gz dexon-caeada08e4a804294d247106b57f66bf147a7fa0.tar.zst dexon-caeada08e4a804294d247106b57f66bf147a7fa0.zip |
dex: add subprotocols
Diffstat (limited to 'dex')
-rw-r--r-- | dex/backend.go | 2 |
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 { |