Skip to content

Commit 5fc286c

Browse files
consensus.rs
1 parent 50134e4 commit 5fc286c

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

client/src/consensus.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,10 @@ fn finalization_get_path(base: String, query: &IndexQuery) -> String {
3131
format!("{base}/finalization/{}", query.serialize())
3232
}
3333

34-
/// Block backfill endpoint used by the chain backfiller.
3534
fn block_upload_path(base: String) -> String {
3635
format!("{base}/block")
3736
}
3837

39-
/// Block reads still go through this path. `Latest` and `Index` return certified
40-
/// data; digest lookups may return a block body recovered by the backfiller.
4138
fn block_get_path(base: String, query: &Query) -> String {
4239
format!("{base}/block/{}", query.serialize())
4340
}
@@ -188,7 +185,7 @@ impl<S: Strategy> Client<S> {
188185
}
189186

190187
pub async fn block_upload(&self, block: Block) -> Result<(), Error> {
191-
// Upload the block body without a notarization/finalization wrapper.
188+
// Upload a block (without a certificate)
192189
let result = self
193190
.http_client
194191
.post(block_upload_path(self.uri.clone()))

0 commit comments

Comments
 (0)