diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-15 16:52:57 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-09 13:49:53 +0800 |
commit | 6d4ce13a6d3679488b8f2f3a1b98cd9f256d643c (patch) | |
tree | b227f049db4bf2fd4078b301a4ffd424a8e3c873 | |
parent | 0df0fee8089c7c810aef18cfabbdfa11ca432889 (diff) | |
download | dexon-6d4ce13a6d3679488b8f2f3a1b98cd9f256d643c.tar dexon-6d4ce13a6d3679488b8f2f3a1b98cd9f256d643c.tar.gz dexon-6d4ce13a6d3679488b8f2f3a1b98cd9f256d643c.tar.bz2 dexon-6d4ce13a6d3679488b8f2f3a1b98cd9f256d643c.tar.lz dexon-6d4ce13a6d3679488b8f2f3a1b98cd9f256d643c.tar.xz dexon-6d4ce13a6d3679488b8f2f3a1b98cd9f256d643c.tar.zst dexon-6d4ce13a6d3679488b8f2f3a1b98cd9f256d643c.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 { |