protocols/autonat: Export DEFAULT_PROTOCOL_NAME (#2717)

This commit is contained in:
Friedel Ziegelmayer
2022-06-22 05:36:20 +02:00
committed by GitHub
parent cb3784a8b3
commit e2bef93bd7
4 changed files with 10 additions and 3 deletions

View File

@ -27,7 +27,7 @@ pub use self::{
Behaviour, Config, Event, InboundProbeError, InboundProbeEvent, NatStatus,
OutboundProbeError, OutboundProbeEvent, ProbeId,
},
protocol::ResponseError,
protocol::{ResponseError, DEFAULT_PROTOCOL_NAME},
};
pub use libp2p_request_response::{InboundFailure, OutboundFailure};