From 8369b864c27e3c90a577f2d292de348531fb7574 Mon Sep 17 00:00:00 2001 From: maskpp Date: Mon, 8 Apr 2024 10:19:09 +0800 Subject: [PATCH] fix ci --- driver/driver.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/driver/driver.go b/driver/driver.go index df2beba03..a0b004ad1 100644 --- a/driver/driver.go +++ b/driver/driver.go @@ -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 {