removed a few spurious lines

This commit is contained in:
Gregory Coppola
2021-10-28 16:17:16 -05:00
parent 60d7ae3362
commit 9c5913578a
2 changed files with 0 additions and 7 deletions

View File

@@ -49,9 +49,6 @@ impl HeadersDB for TestHeadersDB {
}
fn get_burn_block_height_for_block(&self, id_bhh: &StacksBlockId) -> Option<u32> {
let bt = backtrace::Backtrace::new();
warn!("get_burn_block_height_for_block:bt {:?}", bt);
warn!("check");
if id_bhh == &StacksBlockId::sentinel() {
Some(0)
} else {

View File

@@ -2097,10 +2097,7 @@ impl SortitionDB {
first_burn_header_hash: first_burn_hash.clone(),
};
warn!("create_flag {}", create_flag);
if create_flag {
warn!("create_flag {}", create_flag);
// instantiate!
db.instantiate(
first_block_height,
first_burn_hash,
@@ -2108,7 +2105,6 @@ impl SortitionDB {
epochs,
)?;
} else {
warn!("create_flag {}", create_flag);
// validate -- must contain the given first block and first block hash
let snapshot = SortitionDB::get_first_block_snapshot(db.conn())?;
if !snapshot.is_initial()