From 491b3e25feccaa14389229721e12d9206f24c75a Mon Sep 17 00:00:00 2001 From: victor Date: Fri, 3 Oct 2025 19:43:59 +0200 Subject: [PATCH] bless --- node/src/main.rs | 1 + node/src/watcher/builder.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/node/src/main.rs b/node/src/main.rs index 0a19184..20f946a 100644 --- a/node/src/main.rs +++ b/node/src/main.rs @@ -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; diff --git a/node/src/watcher/builder.rs b/node/src/watcher/builder.rs index 1235044..ff3a8fc 100644 --- a/node/src/watcher/builder.rs +++ b/node/src/watcher/builder.rs @@ -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"));