diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-15 16:52:57 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 21:32:50 +0800 |
commit | 447c36e41e989d9e60c70ecc7a1a45bb1814009f (patch) | |
tree | a951969099dea04098d36f22663153565f944e54 | |
parent | f9e7bea0b711698b3fdf34e9484158c91779f63b (diff) | |
download | dexon-447c36e41e989d9e60c70ecc7a1a45bb1814009f.tar dexon-447c36e41e989d9e60c70ecc7a1a45bb1814009f.tar.gz dexon-447c36e41e989d9e60c70ecc7a1a45bb1814009f.tar.bz2 dexon-447c36e41e989d9e60c70ecc7a1a45bb1814009f.tar.lz dexon-447c36e41e989d9e60c70ecc7a1a45bb1814009f.tar.xz dexon-447c36e41e989d9e60c70ecc7a1a45bb1814009f.tar.zst dexon-447c36e41e989d9e60c70ecc7a1a45bb1814009f.zip |
dex: add subprotocols
-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 { |