Skip to content

Commit

Permalink
Enable stakepool for mainnet (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjepson authored and alexlyp committed May 18, 2016
1 parent 4950977 commit 61c3979
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,17 +421,6 @@ func loadConfig() (*config, []string, error) {
return loadConfigError(err)
}

// Temporarily disable stakepool mode on mainnet.
if !(cfg.TestNet || cfg.SimNet) && cfg.StakePoolColdExtKey !=
defaultStakePoolColdExtKey {
str := "%s: Mainnet params can't be used " +
"together with stake pool mode"
err := fmt.Errorf(str, "loadConfig")
fmt.Fprintln(os.Stderr, err)
parser.WriteHelp(os.Stderr)
return loadConfigError(err)
}

// Append the network type to the log directory so it is "namespaced"
// per network.
cfg.LogDir = cleanAndExpandPath(cfg.LogDir)
Expand Down

0 comments on commit 61c3979

Please sign in to comment.