mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-12 16:09:29 -05:00
Use the correct protocol support
This commit is contained in:
parent
b62ef9c2d9
commit
2929a8f101
@ -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(),
|
||||
|
@ -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(),
|
||||
|
@ -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(),
|
||||
|
@ -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(),
|
||||
|
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user