Include Bitswap into request response protocols (#12262)

This commit is contained in:
Aaro Altonen
2022-09-15 10:27:56 +03:00
committed by GitHub
parent 4a6e78b8df
commit 103ac1bc84
+5
View File
@@ -150,6 +150,11 @@ where
let local_public = local_identity.public();
let local_peer_id = local_public.to_peer_id();
params
.network_config
.request_response_protocols
.extend(params.request_response_protocol_configs);
params.network_config.boot_nodes = params
.network_config
.boot_nodes