mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-01-26 07:16:06 -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 {
|
Self {
|
||||||
rr: RequestResponse::new(
|
rr: RequestResponse::new(
|
||||||
OneShotCodec::default(),
|
OneShotCodec::default(),
|
||||||
vec![(EncryptedSignatureProtocol, ProtocolSupport::Full)],
|
vec![(EncryptedSignatureProtocol, ProtocolSupport::Inbound)],
|
||||||
config,
|
config,
|
||||||
),
|
),
|
||||||
events: Default::default(),
|
events: Default::default(),
|
||||||
|
@ -68,7 +68,7 @@ impl Default for Behaviour {
|
|||||||
Self {
|
Self {
|
||||||
rr: RequestResponse::new(
|
rr: RequestResponse::new(
|
||||||
OneShotCodec::default(),
|
OneShotCodec::default(),
|
||||||
vec![(TransferProofProtocol, ProtocolSupport::Full)],
|
vec![(TransferProofProtocol, ProtocolSupport::Outbound)],
|
||||||
config,
|
config,
|
||||||
),
|
),
|
||||||
events: Default::default(),
|
events: Default::default(),
|
||||||
|
@ -67,7 +67,7 @@ impl Default for Behaviour {
|
|||||||
Self {
|
Self {
|
||||||
rr: RequestResponse::new(
|
rr: RequestResponse::new(
|
||||||
OneShotCodec::default(),
|
OneShotCodec::default(),
|
||||||
vec![(EncryptedSignatureProtocol, ProtocolSupport::Full)],
|
vec![(EncryptedSignatureProtocol, ProtocolSupport::Outbound)],
|
||||||
config,
|
config,
|
||||||
),
|
),
|
||||||
events: Default::default(),
|
events: Default::default(),
|
||||||
|
@ -71,7 +71,7 @@ impl Default for Behaviour {
|
|||||||
Self {
|
Self {
|
||||||
rr: RequestResponse::new(
|
rr: RequestResponse::new(
|
||||||
Codec::default(),
|
Codec::default(),
|
||||||
vec![(Swap, ProtocolSupport::Full)],
|
vec![(Swap, ProtocolSupport::Outbound)],
|
||||||
config,
|
config,
|
||||||
),
|
),
|
||||||
events: Default::default(),
|
events: Default::default(),
|
||||||
|
@ -57,7 +57,7 @@ impl Default for Behaviour {
|
|||||||
Self {
|
Self {
|
||||||
rr: RequestResponse::new(
|
rr: RequestResponse::new(
|
||||||
OneShotCodec::default(),
|
OneShotCodec::default(),
|
||||||
vec![(TransferProofProtocol, ProtocolSupport::Full)],
|
vec![(TransferProofProtocol, ProtocolSupport::Inbound)],
|
||||||
config,
|
config,
|
||||||
),
|
),
|
||||||
events: Default::default(),
|
events: Default::default(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user