From 8391ce6a2509cf10156ae8f9bc8491427711df93 Mon Sep 17 00:00:00 2001 From: Stanimal Date: Tue, 24 Aug 2021 15:29:11 +0400 Subject: [PATCH] fix: send transactions to all connected peers Alternative to #3211. Send transactions to all connected peers. --- Cargo.lock | 2 +- base_layer/core/src/mempool/service/service.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9dfd279170..188850e8e5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5060,7 +5060,7 @@ dependencies = [ [[package]] name = "tari_wallet_ffi" -version = "0.17.3" +version = "0.17.4" dependencies = [ "chrono", "env_logger 0.7.1", diff --git a/base_layer/core/src/mempool/service/service.rs b/base_layer/core/src/mempool/service/service.rs index b8ee487b9c..e7c2918fb3 100644 --- a/base_layer/core/src/mempool/service/service.rs +++ b/base_layer/core/src/mempool/service/service.rs @@ -490,7 +490,7 @@ async fn handle_outbound_tx( exclude_peers: Vec, ) -> Result<(), MempoolServiceError> { let result = outbound_message_service - .propagate( + .flood( NodeDestination::Unknown, OutboundEncryption::ClearText, exclude_peers,