From 819c01cb2fd4b262cd9e809ea1b15da1bde762b6 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 12 Dec 2023 07:47:53 +0100 Subject: [PATCH] fix --- service/src/main_impl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/src/main_impl.rs b/service/src/main_impl.rs index 496a7086a2..df713ec608 100644 --- a/service/src/main_impl.rs +++ b/service/src/main_impl.rs @@ -533,7 +533,7 @@ fn start_worker( }, None => { println!("We are the primary worker on this shard and the shard is untouched. Will initialize it"); - setup::init_shard(enclave.as_ref(), &shard).unwrap(); + setup::init_shard(enclave.as_ref(), shard); enclave .init_shard_creation_parentchain_header( shard,