Skip to content

Commit

Permalink
#316: Reset the applicator when gossip is disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandeberg committed Dec 11, 2024
1 parent e6c9081 commit eecad07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/p2p/gossip.go
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ func (kg *KoinosGossip) EnableGossip(ctx context.Context, enable bool) {
kg.StopGossip()
if kg.rpc != nil {
_ = kg.rpc.BroadcastGossipStatus(ctx, false)
kg.applicator.Reset(ctx)
}
}
}
Expand Down

0 comments on commit eecad07

Please sign in to comment.