Update to libp2p v0.20.1 (#6465)

* Update to libp2p-0.20.0

* Update to `libp2p-0.20.1`.

Co-authored-by: Pierre Krieger <pierre.krieger1708@gmail.com>
This commit is contained in:
Toralf Wittner
2020-06-30 10:02:51 +02:00
committed by GitHub
parent 2e2af4b05a
commit 3de2a88075
14 changed files with 291 additions and 194 deletions
+1 -1
View File
@@ -601,7 +601,7 @@ impl NetworkBehaviour for DiscoveryBehaviour {
Ok(ok) => {
let results = ok.records
.into_iter()
.map(|r| (r.key, r.value))
.map(|r| (r.record.key, r.record.value))
.collect();
DiscoveryOut::ValueFound(results)