Skip to content

Commit

Permalink
Re-enable mainnet sync
Browse files Browse the repository at this point in the history
  • Loading branch information
lemois-1337 committed Aug 29, 2024
1 parent 5582011 commit bc65e01
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,6 @@ func (app *karlsendApp) main(startedChan chan<- struct{}) error {
// Show version at startup.
log.Infof("Version %s", version.Version())
log.Infof("Using KarlsenHashV2 impl: %s", pow.GetHashingAlgoVersion())
if !app.cfg.Testnet && !app.cfg.Devnet && !app.cfg.Simnet {
log.Warnf("You are trying to connect to Mainnet")
log.Errorf("This version is using KarlsenHashV2, please add --testnet parameter")
os.Exit(42)
}

// Enable http profiling server if requested.
if app.cfg.Profile != "" {
Expand Down

0 comments on commit bc65e01

Please sign in to comment.