This commit is contained in:
victor 2025-10-03 19:43:59 +02:00
parent 60a3a59ecb
commit 491b3e25fe
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ async fn main() -> Result<(), std::io::Error> {
.render(args.render)
.bootstrap(args.bootstrap)
.temporary(args.temporary)
.database(args.database)
.start()
.await;

View File

@ -76,7 +76,7 @@ impl WatcherBuilder {
self.addr = Some(crate::seeds_constants::SEED_NODES[0]);
}
let chain = node::Blockchain::new(None, self.temporary).unwrap();
let chain = node::Blockchain::new(self.database, self.temporary).unwrap();
let mut node = Node::new(self.addr.clone(), exec_tx.clone(), chain);
log(msg!(INFO, "Built Node"));