Skip to content

Commit

Permalink
Remove fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
boyuan-chen committed Mar 5, 2024
1 parent 20d2f60 commit 14a01dd
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions l2geth/cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1116,8 +1116,6 @@ func setEth1(ctx *cli.Context, cfg *rollup.Config) {
// UsingOVM
// setRollup configures the rollup
func setRollup(ctx *cli.Context, cfg *rollup.Config) {
fmt.Println("RollupEnableVerifierFlag.Name", RollupEnableVerifierFlag.Name)
fmt.Println("RollupReadOnlyFlag.Name", RollupReadOnlyFlag.Name)
if ctx.GlobalIsSet(RollupEnableVerifierFlag.Name) {
cfg.IsVerifier = ctx.GlobalBool(RollupEnableVerifierFlag.Name)
}
Expand Down Expand Up @@ -1157,7 +1155,6 @@ func setRollup(ctx *cli.Context, cfg *rollup.Config) {
cfg.SequencerClientHttp = ctx.GlobalString(SequencerClientHttpFlag.Name)
}
if ctx.GlobalIsSet(RollupReadOnlyFlag.Name) {
fmt.Println(RollupReadOnlyFlag.Name)
cfg.IsReadOnly = ctx.GlobalBool(RollupReadOnlyFlag.Name)
}
}
Expand Down
1 change: 0 additions & 1 deletion l2geth/rollup/sync_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ func NewSyncService(ctx context.Context, cfg Config, txpool *core.TxPool, bc *co
// a remote server that indexes the layer one contracts. Place this
// code behind this if statement so that this can run without the
// requirement of the remote server being up.
fmt.Println(cfg.IsReadOnly)
if service.enable && !cfg.IsReadOnly {
// Ensure that the rollup client can connect to a remote server
// before starting. Retry until it can connect.
Expand Down

0 comments on commit 14a01dd

Please sign in to comment.