diff --git a/node/network/availability-recovery/src/lib.rs b/node/network/availability-recovery/src/lib.rs index f2f92cc54490..a07f4e0baa52 100644 --- a/node/network/availability-recovery/src/lib.rs +++ b/node/network/availability-recovery/src/lib.rs @@ -362,7 +362,7 @@ impl RequestChunksFromValidators { sender .send_message(NetworkBridgeTxMessage::SendRequests( requests, - IfDisconnected::ImmediateError, + IfDisconnected::TryConnect, )) .await; } diff --git a/node/network/availability-recovery/src/tests.rs b/node/network/availability-recovery/src/tests.rs index 8a5191e70b26..3e898088c7f9 100644 --- a/node/network/availability-recovery/src/tests.rs +++ b/node/network/availability-recovery/src/tests.rs @@ -311,7 +311,7 @@ impl TestState { AllMessages::NetworkBridgeTx( NetworkBridgeTxMessage::SendRequests( requests, - IfDisconnected::ImmediateError, + _if_disconnected, ) ) => { for req in requests {