diff options
author | Sonic <sonic@cobinhood.com> | 2018-10-15 16:52:57 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@byzantine-lab.io> | 2019-06-12 17:23:39 +0800 |
commit | eb6ab82e9076f2e05ead6c01dd356d9808891dc3 (patch) | |
tree | bfd360a51c87e7a88fe1436439c0893f123a6047 /dex | |
parent | cd2f6248027cf03bb24ce59b7df222b32a683d19 (diff) | |
download | go-tangerine-eb6ab82e9076f2e05ead6c01dd356d9808891dc3.tar go-tangerine-eb6ab82e9076f2e05ead6c01dd356d9808891dc3.tar.gz go-tangerine-eb6ab82e9076f2e05ead6c01dd356d9808891dc3.tar.bz2 go-tangerine-eb6ab82e9076f2e05ead6c01dd356d9808891dc3.tar.lz go-tangerine-eb6ab82e9076f2e05ead6c01dd356d9808891dc3.tar.xz go-tangerine-eb6ab82e9076f2e05ead6c01dd356d9808891dc3.tar.zst go-tangerine-eb6ab82e9076f2e05ead6c01dd356d9808891dc3.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 { |