Commit ee39f95e authored by joohhnnn's avatar joohhnnn

fix format from 'make lint-go'

parent dd9c9965
...@@ -43,4 +43,3 @@ func main() { ...@@ -43,4 +43,3 @@ func main() {
log.Crit("Application failed", "message", err) log.Crit("Application failed", "message", err)
} }
} }
...@@ -6,7 +6,6 @@ import ( ...@@ -6,7 +6,6 @@ import (
"github.com/urfave/cli/v2" "github.com/urfave/cli/v2"
"github.com/ethereum-optimism/optimism/op-proposer/flags" "github.com/ethereum-optimism/optimism/op-proposer/flags"
oplog "github.com/ethereum-optimism/optimism/op-service/log" oplog "github.com/ethereum-optimism/optimism/op-service/log"
opmetrics "github.com/ethereum-optimism/optimism/op-service/metrics" opmetrics "github.com/ethereum-optimism/optimism/op-service/metrics"
oppprof "github.com/ethereum-optimism/optimism/op-service/pprof" oppprof "github.com/ethereum-optimism/optimism/op-service/pprof"
......
...@@ -9,7 +9,6 @@ import ( ...@@ -9,7 +9,6 @@ import (
"sync" "sync"
"time" "time"
"github.com/ethereum/go-ethereum" "github.com/ethereum/go-ethereum"
"github.com/ethereum/go-ethereum/accounts/abi" "github.com/ethereum/go-ethereum/accounts/abi"
"github.com/ethereum/go-ethereum/accounts/abi/bind" "github.com/ethereum/go-ethereum/accounts/abi/bind"
...@@ -132,7 +131,7 @@ func (l *L2OutputSubmitter) StopL2OutputSubmittingIfRunning() error { ...@@ -132,7 +131,7 @@ func (l *L2OutputSubmitter) StopL2OutputSubmittingIfRunning() error {
return err return err
} }
func (l *L2OutputSubmitter) StopL2OutputSubmitting() error{ func (l *L2OutputSubmitter) StopL2OutputSubmitting() error {
l.Log.Info("Stopping Proposer") l.Log.Info("Stopping Proposer")
l.mutex.Lock() l.mutex.Lock()
......
...@@ -26,7 +26,7 @@ import ( ...@@ -26,7 +26,7 @@ import (
"github.com/ethereum/go-ethereum/log" "github.com/ethereum/go-ethereum/log"
) )
type ProposerConfig struct{ type ProposerConfig struct {
// How frequently to poll L2 for new finalized outputs // How frequently to poll L2 for new finalized outputs
PollInterval time.Duration PollInterval time.Duration
NetworkTimeout time.Duration NetworkTimeout time.Duration
...@@ -39,7 +39,7 @@ type ProposerConfig struct{ ...@@ -39,7 +39,7 @@ type ProposerConfig struct{
AllowNonFinalized bool AllowNonFinalized bool
} }
type ProposerService struct{ type ProposerService struct {
Log log.Logger Log log.Logger
Metrics metrics.Metricer Metrics metrics.Metricer
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment