mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-01-12 22:43:42 +08:00
removed a few spurious lines
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user