diff --git a/swap/src/protocol/alice/encrypted_signature.rs b/swap/src/protocol/alice/encrypted_signature.rs index b62cf1de..ca1ea7f3 100644 --- a/swap/src/protocol/alice/encrypted_signature.rs +++ b/swap/src/protocol/alice/encrypted_signature.rs @@ -60,7 +60,7 @@ impl Default for Behaviour { Self { rr: RequestResponse::new( OneShotCodec::default(), - vec![(EncryptedSignatureProtocol, ProtocolSupport::Full)], + vec![(EncryptedSignatureProtocol, ProtocolSupport::Inbound)], config, ), events: Default::default(), diff --git a/swap/src/protocol/alice/transfer_proof.rs b/swap/src/protocol/alice/transfer_proof.rs index a9bc32b4..b9f379a9 100644 --- a/swap/src/protocol/alice/transfer_proof.rs +++ b/swap/src/protocol/alice/transfer_proof.rs @@ -68,7 +68,7 @@ impl Default for Behaviour { Self { rr: RequestResponse::new( OneShotCodec::default(), - vec![(TransferProofProtocol, ProtocolSupport::Full)], + vec![(TransferProofProtocol, ProtocolSupport::Outbound)], config, ), events: Default::default(), diff --git a/swap/src/protocol/bob/encrypted_signature.rs b/swap/src/protocol/bob/encrypted_signature.rs index ab891feb..b3d2815a 100644 --- a/swap/src/protocol/bob/encrypted_signature.rs +++ b/swap/src/protocol/bob/encrypted_signature.rs @@ -67,7 +67,7 @@ impl Default for Behaviour { Self { rr: RequestResponse::new( OneShotCodec::default(), - vec![(EncryptedSignatureProtocol, ProtocolSupport::Full)], + vec![(EncryptedSignatureProtocol, ProtocolSupport::Outbound)], config, ), events: Default::default(), diff --git a/swap/src/protocol/bob/swap_request.rs b/swap/src/protocol/bob/swap_request.rs index 5f032081..b6a16c97 100644 --- a/swap/src/protocol/bob/swap_request.rs +++ b/swap/src/protocol/bob/swap_request.rs @@ -71,7 +71,7 @@ impl Default for Behaviour { Self { rr: RequestResponse::new( Codec::default(), - vec![(Swap, ProtocolSupport::Full)], + vec![(Swap, ProtocolSupport::Outbound)], config, ), events: Default::default(), diff --git a/swap/src/protocol/bob/transfer_proof.rs b/swap/src/protocol/bob/transfer_proof.rs index ee6fc147..7f9d9565 100644 --- a/swap/src/protocol/bob/transfer_proof.rs +++ b/swap/src/protocol/bob/transfer_proof.rs @@ -57,7 +57,7 @@ impl Default for Behaviour { Self { rr: RequestResponse::new( OneShotCodec::default(), - vec![(TransferProofProtocol, ProtocolSupport::Full)], + vec![(TransferProofProtocol, ProtocolSupport::Inbound)], config, ), events: Default::default(),