Sitelet https://github.com/Fantom-foundation/go-opera/commit/98314dbeb845e083d39181003c5df254441643e7
Skip to content

Commit 98314db

Browse files
committed
fmt
1 parent 29259ab commit 98314db

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎cmd/opera/launcher/fixdirty.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ func fixDirty(ctx *cli.Context) error {
9191

9292
// fixDirtyGossipDb reverts the gossip database into state, when was one of last epochs sealed
9393
func fixDirtyGossipDb(producer kvdb.IterableDBProducer, cfg *config) (
94-
epochState *iblockproc.EpochState, err error) {
94+
epochState *iblockproc.EpochState, err error) {
9595
gdb, err := makeRawGossipStore(producer, cfg) // requires FlushIDKey present (not clean) in all dbs
9696
if err != nil {
9797
log.Crit("DB opening error", "datadir", cfg.Node.DataDir, "err", err)

‎cmd/opera/launcher/import.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ func importEventsFile(srv *gossip.Service, fn string) error {
153153
case <-interrupt:
154154
return fmt.Errorf("interrupted")
155155
case <-time.After(100 * time.Millisecond):
156-
continue
156+
continue
157157
}
158158
}
159159

‎gossip/service.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ type Service struct {
149149

150150
procLogger *proclogger.Logger
151151

152-
stopped bool
152+
stopped bool
153153
haltCheck func(oldEpoch, newEpoch idx.Epoch, time time.Time) bool
154154

155155
tflusher PeriodicFlusher

‎utils/devnullfile/devnull.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package devnullfile
22

3-
type DevNull struct {}
3+
type DevNull struct{}
44

55
func (d DevNull) Read(pp []byte) (n int, err error) {
66
for i := range pp {

0 commit comments

Comments
 (0)