Skip to content
This repository has been archived by the owner on May 11, 2024. It is now read-only.

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed Apr 8, 2024
1 parent 64d0d3a commit 8369b86
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ func (d *Driver) InitFromConfig(ctx context.Context, cfg *Config) (err error) {
if syncMode, err := d.rpc.L2.GetSyncMode(d.ctx); err != nil {
return err
} else if syncMode != d.SyncMode {
return fmt.Errorf("the type is inconsistent with taiko-geth's sync mode, expect: %s, actual: %s", syncMode, d.SyncMode)
return fmt.Errorf(
"the type is inconsistent with taiko-geth's sync mode, expect: %s, actual: %s",
syncMode,
d.SyncMode,
)
}

if d.state, err = state.New(d.ctx, d.rpc); err != nil {
Expand Down

0 comments on commit 8369b86

Please sign in to comment.