aboutsummaryrefslogtreecommitdiff
path: root/src/model/block.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/block.rs')
-rw-r--r--src/model/block.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/model/block.rs b/src/model/block.rs
index 8b065c04..eccc2cbd 100644
--- a/src/model/block.rs
+++ b/src/model/block.rs
@@ -339,10 +339,14 @@ impl BlockManager {
);
let put_block_message = self.read_block(hash).await?;
- self.rpc_client.try_call_many(
+ self.rpc_client
+ .try_call_many(
&need_nodes[..],
put_block_message,
- RequestStrategy::with_quorum(need_nodes.len()).with_timeout(BLOCK_RW_TIMEOUT)).await?;
+ RequestStrategy::with_quorum(need_nodes.len())
+ .with_timeout(BLOCK_RW_TIMEOUT),
+ )
+ .await?;
}
trace!(
"Deleting block {:?}, offload finished ({} / {})",