Mainnet enablement

1. Remove the exit guarding running a node in mainnet mode.
2. Set initial difficulty in genesis.
This commit is contained in:
Ignotus Peverell
2019-01-14 20:07:10 +00:00
parent 49612543d4
commit 224a26faed
2 changed files with 1 additions and 7 deletions
-6
View File
@@ -87,12 +87,6 @@ fn real_main() -> i32 {
global::ChainTypes::Mainnet
};
// TODO remove for mainnet
if chain_type == global::ChainTypes::Mainnet {
println!("Mainnet not ready yet! In the meantime run 'grin --floonet ...'");
exit(1);
}
// Deal with configuration file creation
match args.subcommand() {
("server", Some(server_args)) => {