Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frozen committed May 21, 2024
1 parent 692aa5d commit d4ed4ce
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmd/harmony/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -510,15 +510,6 @@ func setupNodeAndRun(hc harmonyconfig.HarmonyConfig) {

go listenOSSigAndShutDown(currentNode)

if hc.Network.NetworkType == nodeconfig.Partner || hc.Network.NetworkType == nodeconfig.Testnet { // devnet
go func() {
for {
<-time.After(10 * time.Second)
go currentNode.BroadcastCrossLinkFromShardsToBeacon()
}
}()
}

if !hc.General.IsOffline {
if err := myHost.Start(); err != nil {
utils.Logger().Fatal().
Expand Down

0 comments on commit d4ed4ce

Please sign in to comment.