use as_bytes everywhere

This commit is contained in:
Septias
2024-01-29 16:12:02 +01:00
parent f5a7a22239
commit eca8ed3d56
2 changed files with 7 additions and 4 deletions

View File

@@ -460,8 +460,8 @@ pub(crate) async fn receive_imf_inner(
.add_node_addr(node_addr.clone())
.context("Failed to add node address")?;
let node_id = node_addr.node_id;
for topic in topics {
let node_id = node_addr.node_id;
context
.add_peer_for_topic(instance_id, topic, node_id)
.await?;