mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-21 13:51:50 +03:00
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.
This commit is contained in:
parent
08ddb0b86a
commit
5928ca8747
@ -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 ) {
|
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");
|
fprintf(stderr, "-G only makes sense when bootstrapping a new instance\n");
|
||||||
return c3n;
|
return c3n;
|
||||||
@ -321,10 +318,6 @@ _main_getopt(c3_i argc, c3_c** argv)
|
|||||||
return c3n;
|
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 ) {
|
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");
|
fprintf(stderr, "-B and -u cannot be used together\n");
|
||||||
return c3n;
|
return c3n;
|
||||||
|
Loading…
Reference in New Issue
Block a user