we were generating different genesis blocks (#994)

every time a user testing node started up
and we could not peer them successfully
This commit is contained in:
Antioch Peverell 2018-04-22 08:42:48 -04:00 committed by GitHub
parent b803bdc9aa
commit 03fa9f491d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -126,6 +126,7 @@ impl Server {
global::ChainTypes::Testnet1 => genesis::genesis_testnet1(),
global::ChainTypes::Testnet2 => genesis::genesis_testnet2(),
global::ChainTypes::AutomatedTesting => genesis::genesis_dev(),
global::ChainTypes::UserTesting => genesis::genesis_dev(),
_ => pow::mine_genesis_block(config.mining_config.clone())?,
};