diff --git a/protocols/s5.go b/protocols/s5.go index bfb9e0a..3a262d9 100644 --- a/protocols/s5.go +++ b/protocols/s5.go @@ -45,7 +45,7 @@ type S5ProtocolParams struct { type S5ProtocolResult struct { fx.Out - Protocol registry.Protocol `group:"protocol"` + Protocol []registry.Protocol `group:"protocol"` S5Protocol *S5Protocol } @@ -66,7 +66,7 @@ func NewS5Protocol( } return S5ProtocolResult{ - Protocol: proto, + Protocol: []registry.Protocol{proto}, S5Protocol: proto, }, nil }