From 2480bfd2160541491559349a81a50c1325b90b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Henry?= Date: Mon, 10 Apr 2017 12:59:04 +0200 Subject: [PATCH] Shell: remove dead code --- src/node/shell/validator.ml | 1 - 1 file changed, 1 deletion(-) diff --git a/src/node/shell/validator.ml b/src/node/shell/validator.ml index 4e11a0b82..70689e0d2 100644 --- a/src/node/shell/validator.ml +++ b/src/node/shell/validator.ml @@ -749,7 +749,6 @@ let create_worker state db = let net_id = State.Net.id net in lwt_log_notice "activate network %a" Net_id.pp net_id >>= fun () -> - State.Valid_block.Current.genesis net >>= fun genesis -> get net_id >>= function | Error _ -> let v = create_validator ?parent worker state db net in