Skip to content

Commit 7f76338

Browse files
committed
Dirty fix in inbound/outbound agencies for ObjectDiffusion
1 parent c2e936f commit 7f76338

File tree

1 file changed

+8
-8
lines changed
  • ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion

1 file changed

+8
-8
lines changed

ouroboros-network-protocols/src/Ouroboros/Network/Protocol/ObjectDiffusion/Type.hs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,20 @@ import Ouroboros.Network.Util.ShowProxy
5959
import Quiet (Quiet (..))
6060

6161
pattern OutboundAgency :: Agency
62-
pattern OutboundAgency = ClientAgency
63-
type OutboundAgency = 'ClientAgency
62+
pattern OutboundAgency = ServerAgency
63+
type OutboundAgency = 'ServerAgency
6464

6565
pattern InboundAgency :: Agency
66-
pattern InboundAgency = ServerAgency
67-
type InboundAgency = 'ServerAgency
66+
pattern InboundAgency = ClientAgency
67+
type InboundAgency = 'ClientAgency
6868

6969
pattern AsOutbound :: PeerRole
70-
pattern AsOutbound = AsClient
71-
type AsOutbound = 'AsClient
70+
pattern AsOutbound = AsServer
71+
type AsOutbound = 'AsServer
7272

7373
pattern AsInbound :: PeerRole
74-
pattern AsInbound = AsServer
75-
type AsInbound = 'AsServer
74+
pattern AsInbound = AsClient
75+
type AsInbound = 'AsClient
7676

7777
pattern ReflOutboundAgency :: ReflRelativeAgency ClientAgency (r :: RelativeAgency) (r :: RelativeAgency)
7878
pattern ReflOutboundAgency = ReflClientAgency

0 commit comments

Comments
 (0)