mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-29 01:31:33 +00:00
feat: leverage type-safe /p2p
in multiaddr
This updates `multiaddr` to version `0.19`. Depends-On: #3656. Depends-On: https://github.com/multiformats/rust-multiaddr/pull/83. Resolves: #4039. Pull-Request: #4037.
This commit is contained in:
@ -231,7 +231,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
.dial(
|
||||
opts.relay_address
|
||||
.with(Protocol::P2pCircuit)
|
||||
.with(Protocol::P2p(opts.remote_peer_id.unwrap().into())),
|
||||
.with(Protocol::P2p(opts.remote_peer_id.unwrap())),
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
|
Reference in New Issue
Block a user