From 5928ca874707954203d2a431eefd82334ecef956 Mon Sep 17 00:00:00 2001 From: fang Date: Wed, 26 Jan 2022 17:17:37 +0100 Subject: [PATCH] vere: do not use mainnet-proxy for galaxy booting Fallback to the default happens in dawn.c, which correctly points to roller.urbit.org, an endpoint that matches its request/response logic. Continuing to use an Ethereum endpoint instead of an L2 one will just result in 400s, since they don't speak the same language. --- pkg/urbit/daemon/main.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/urbit/daemon/main.c b/pkg/urbit/daemon/main.c index 6e3bbcd1d..5b2e288b2 100644 --- a/pkg/urbit/daemon/main.c +++ b/pkg/urbit/daemon/main.c @@ -277,9 +277,6 @@ _main_getopt(c3_i argc, c3_c** argv) } } - c3_t imp_t = ((0 != u3_Host.ops_u.who_c) && - (4 == strlen(u3_Host.ops_u.who_c))); - if ( u3_Host.ops_u.gen_c != 0 && u3_Host.ops_u.nuu == c3n ) { fprintf(stderr, "-G only makes sense when bootstrapping a new instance\n"); return c3n; @@ -321,10 +318,6 @@ _main_getopt(c3_i argc, c3_c** argv) return c3n; } - if ( u3_Host.ops_u.eth_c == 0 && imp_t ) { - u3_Host.ops_u.eth_c = "http://eth-mainnet.urbit.org:8545"; - } - if ( u3_Host.ops_u.url_c != 0 && u3_Host.ops_u.pil_c != 0 ) { fprintf(stderr, "-B and -u cannot be used together\n"); return c3n;