Skip to content

Commit

Permalink
fix(network): Maformed PeerInfo during Routing #12364
Browse files Browse the repository at this point in the history
During routing of StateRequestPart the PeerInfo used is taken from
connection instead of actual message author. That results in
malformed PeerInfo that is coposed of mid-party ID and original
sender's address.
  • Loading branch information
mkamonMdt committed Jan 6, 2025
1 parent 9302b8e commit 18692df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/network/src/peer/peer_actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,7 @@ impl PeerActor {
Self::receive_routed_message(
&clock,
&network_state,
peer_id,
msg.msg.author,
msg_hash,
msg.msg.body,
)
Expand Down

0 comments on commit 18692df

Please sign in to comment.