File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
contrib/stacks-inspect/src Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -259,9 +259,7 @@ fn collect_epoch2_entries(
259259 . unwrap_or_else ( |e| {
260260 panic ! ( "Failed to open staging blocks DB at {staging_blocks_db_path}: {e}" ) ;
261261 } ) ;
262- let sql = format ! (
263- "SELECT index_block_hash, consensus_hash, anchored_block_hash, height FROM staging_blocks {clause}"
264- ) ;
262+ let sql = format ! ( "SELECT index_block_hash FROM staging_blocks {clause}" ) ;
265263 let mut stmt = conn. prepare ( & sql) . unwrap_or_else ( |e| {
266264 panic ! ( "Failed to prepare query over staging_blocks: {e}" ) ;
267265 } ) ;
@@ -299,7 +297,7 @@ fn collect_nakamoto_entries(
299297 return true ;
300298 }
301299
302- let sql = format ! ( "SELECT index_block_hash, height FROM nakamoto_staging_blocks {clause}" ) ;
300+ let sql = format ! ( "SELECT index_block_hash FROM nakamoto_staging_blocks {clause}" ) ;
303301 let conn = chainstate. nakamoto_blocks_db ( ) ;
304302 let mut stmt = conn. prepare ( & sql) . unwrap_or_else ( |e| {
305303 panic ! ( "Failed to prepare query over nakamoto_staging_blocks: {e}" ) ;
You can’t perform that action at this time.
0 commit comments