Skip to content

Commit

Permalink
Merge pull request #57 from lemois-1337/mainnet_karlsenhashv2
Browse files Browse the repository at this point in the history
Re-enable mainnet sync
  • Loading branch information
lemois-1337 authored Aug 29, 2024
2 parents 825a94c + bc65e01 commit a133806
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 a133806

Please sign in to comment.