From 052ff409502d9c5d49994c111e5e9cd1542dc319 Mon Sep 17 00:00:00 2001 From: Alain Brenzikofer Date: Tue, 12 Dec 2023 07:54:32 +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 df713ec608..26a4732aa0 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); + enclave.init_shard(shard.encode()).unwrap(); enclave .init_shard_creation_parentchain_header( shard,