Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
v1.17: Update upload_confirmed_blocks() return value when no blocks t…
Browse files Browse the repository at this point in the history
…o upload (backport of #33861) (#33882)
  • Loading branch information
mergify[bot] authored Oct 26, 2023
1 parent 5fa23d9 commit 84d5fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/src/bigtable_upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ pub async fn upload_confirmed_blocks(
"No blocks between {} and {} need to be uploaded to bigtable",
starting_slot, ending_slot
);
return Ok(last_blockstore_slot);
return Ok(ending_slot);
}
let last_slot = *blocks_to_upload.last().unwrap();
info!(
Expand Down

0 comments on commit 84d5fff

Please sign in to comment.