From 75b192d06c3c19bab3f7e67c970e5171856eb2f3 Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Tue, 17 Dec 2024 17:32:06 +0000 Subject: [PATCH] Remove more unused code --- .../registry/impl/src/lifecycle/post_upgrade.rs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/backend/canisters/registry/impl/src/lifecycle/post_upgrade.rs b/backend/canisters/registry/impl/src/lifecycle/post_upgrade.rs index 7b1bf4c0e8..dfb2eefd54 100644 --- a/backend/canisters/registry/impl/src/lifecycle/post_upgrade.rs +++ b/backend/canisters/registry/impl/src/lifecycle/post_upgrade.rs @@ -57,20 +57,6 @@ fn post_upgrade(args: Args) { data.icp_ledger_canister_id = CanisterId::from_text("ryjl3-tyaaa-aaaaa-aaaba-cai").unwrap(); data.cycles_minting_canister_id = CanisterId::from_text("rkp4c-7iaaa-aaaaa-aaaca-cai").unwrap(); - // if data.test_mode { - // data.subnets - // .subnets - // .insert(Principal::from_text("eq6en-6jqla-fbu5s-daskr-h6hx2-376n5-iqabl-qgrng-gfqmv-n3yjr-mqe").unwrap()); - // } else { - // - // data.subnets - // .subnets - // .insert(Principal::from_text("eq6en-6jqla-fbu5s-daskr-h6hx2-376n5-iqabl-qgrng-gfqmv-n3yjr-mqe").unwrap()); - // data.subnets - // .subnets - // .insert(Principal::from_text("2fq7c-slacv-26cgz-vzbx2-2jrcs-5edph-i5s2j-tck77-c3rlz-iobzx-mqe").unwrap()); - // } - canister_logger::init_with_logs(data.test_mode, errors, logs, traces); let env = init_env(data.rng_seed);