We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2cd02d6 commit fc2e4c3Copy full SHA for fc2e4c3
stackslib/src/chainstate/nakamoto/staging_blocks.rs
@@ -282,17 +282,6 @@ impl<'a> NakamotoStagingBlocksConnRef<'a> {
282
Ok(res)
283
}
284
285
- /// Get the rowid of a staging Nakamoto block by block_hash
286
- pub fn get_nakamoto_block_by_hash_rowid(
287
- &self,
288
- block_hash: &StacksBlockId,
289
- ) -> Result<Option<i64>, ChainstateError> {
290
- let sql = "SELECT rowid FROM nakamoto_staging_blocks WHERE block_hash = ?1";
291
- let args = params![block_hash];
292
- let res: Option<i64> = query_row(self, sql, args)?;
293
- Ok(res)
294
- }
295
-
296
/// Get the tenure and parent block ID of a staging block.
297
/// Used for downloads
298
pub fn get_tenure_and_parent_block_id(
0 commit comments