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 4eb625a commit e97b244Copy full SHA for e97b244
testnet/stacks-node/src/node.rs
@@ -346,6 +346,15 @@ impl Node {
346
}
347
348
let burnchain_config = config.get_burnchain();
349
+
350
+ // instantiate DBs
351
+ let _burnchain_db = BurnchainDB::connect(
352
+ &burnchain_config.get_burnchaindb_path(),
353
+ &burnchain_config,
354
+ true,
355
+ )
356
+ .expect("FATAL: failed to connect to burnchain DB");
357
358
run_loop::announce_boot_receipts(
359
&mut event_dispatcher,
360
&chain_state,
@@ -526,6 +535,7 @@ impl Node {
526
535
let consensus_hash = burnchain_tip.block_snapshot.consensus_hash;
527
536
528
537
let burnchain = self.config.get_burnchain();
538
529
539
let sortdb = SortitionDB::open(
530
540
&self.config.get_burn_db_file_path(),
531
541
true,
0 commit comments