Skip to content

Commit

Permalink
fix: send transactions to all connected peers (#3239)
Browse files Browse the repository at this point in the history
Description
---
 Send transactions to all connected peers as we do with block propagation

Motivation and Context
---
Alternative to #3211.

How Has This Been Tested?
---
Existing tests / single line code change
  • Loading branch information
sdbondi authored Aug 30, 2021
1 parent 8c7066b commit 16f779e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base_layer/core/src/mempool/service/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ async fn handle_outbound_tx(
exclude_peers: Vec<NodeId>,
) -> Result<(), MempoolServiceError> {
let result = outbound_message_service
.propagate(
.flood(
NodeDestination::Unknown,
OutboundEncryption::ClearText,
exclude_peers,
Expand Down

0 comments on commit 16f779e

Please sign in to comment.