mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-04 11:19:10 -07:00
parser: fixed hanging + global: snapshot
This commit is contained in:
@@ -22,7 +22,7 @@ pub struct AppState {
|
||||
computer: &'static Computer<STATELESS>,
|
||||
}
|
||||
|
||||
pub const WEBSITE_DEV_PATH: &str = "../websites/kibo.money/";
|
||||
pub const WEBSITE_DEV_PATH: &str = "../../websites/kibo.money/";
|
||||
|
||||
pub async fn main(indexer: Indexer<STATELESS>, computer: Computer<STATELESS>) -> color_eyre::Result<()> {
|
||||
let indexer = Box::leak(Box::new(indexer));
|
||||
|
||||
@@ -8,9 +8,9 @@ use storable_vec::STATELESS;
|
||||
pub async fn main() -> color_eyre::Result<()> {
|
||||
color_eyre::install()?;
|
||||
|
||||
brk_printer::init_log(None);
|
||||
brk_logger::init(None);
|
||||
|
||||
let path = Path::new("../_outputs");
|
||||
let path = Path::new("../../_outputs");
|
||||
let indexer: Indexer<STATELESS> = Indexer::import(&path.join("indexes"))?;
|
||||
let computer: Computer<STATELESS> = Computer::import(&path.join("computed"))?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user