mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 23:01:33 +00:00
Merge pull request #59 from tomaka/plain-text-rename
Rename PlainText to PlainTextConfig
This commit is contained in:
@ -47,7 +47,7 @@ fn main() {
|
||||
let tcp = TcpConfig::new(core.handle());
|
||||
|
||||
let with_secio = tcp
|
||||
.with_upgrade(swarm::PlainText)
|
||||
.with_upgrade(swarm::PlainTextConfig)
|
||||
.or_upgrade({
|
||||
let private_key = {
|
||||
let pkcs8 = include_bytes!("test-private-key.pk8");
|
||||
|
Reference in New Issue
Block a user