Commit 9547d0a0 authored by Marten Seemann's avatar Marten Seemann

remove unused field in net.CodecMap

parent 5e60d16f
...@@ -31,7 +31,6 @@ func init() { ...@@ -31,7 +31,6 @@ func init() {
// It is used to keep a list of supported network address codecs (protocols // It is used to keep a list of supported network address codecs (protocols
// which addresses can be converted to and from multiaddresses). // which addresses can be converted to and from multiaddresses).
type CodecMap struct { type CodecMap struct {
codecs map[string]*NetCodec
addrParsers map[string]FromNetAddrFunc addrParsers map[string]FromNetAddrFunc
maddrParsers map[string]ToNetAddrFunc maddrParsers map[string]ToNetAddrFunc
lk sync.Mutex lk sync.Mutex
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment