From bd9dab9493dec32cb65d5cdef9ba753d7fac6eaf Mon Sep 17 00:00:00 2001
From: cuiweixie <cuiweixie@gmail.com>
Date: Sat, 22 Feb 2025 20:02:42 +0800
Subject: [PATCH] fix: compiler error

---
 main.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/main.go b/main.go
index bfbde8d..24cf71e 100644
--- a/main.go
+++ b/main.go
@@ -8,13 +8,13 @@ import (
 	"os"
 	"strings"
 
-	"github.com/ethereum/go-ethereum/log"
 	"github.com/ethereum-optimism/optimism/op-node/bindings"
 	bindingspreview "github.com/ethereum-optimism/optimism/op-node/bindings/preview"
 	oplog "github.com/ethereum-optimism/optimism/op-service/log"
 	"github.com/ethereum/go-ethereum/accounts/abi/bind"
 	"github.com/ethereum/go-ethereum/common"
 	"github.com/ethereum/go-ethereum/ethclient"
+	"github.com/ethereum/go-ethereum/log"
 	"github.com/ethereum/go-ethereum/rpc"
 
 	"github.com/base/withdrawer/signer"
@@ -176,7 +176,7 @@ func validateEssentialFlags(rpcFlag, withdrawalFlag string) {
 }
 
 // Validates that exactly one signer method is provided.
-func validateSignerOptions(privateKey string, ledger, mnemonic bool) {
+func validateSignerOptions(privateKey string, ledger bool, mnemonic string) {
 	options := 0
 	if privateKey != "" {
 		options++
@@ -306,4 +306,4 @@ func CreateWithdrawHelper(l1Rpc string, withdrawal common.Hash, n network, s sig
 		Oracle:   l2oo,
 		Opts:     l1opts,
 	}, nil
-}
\ No newline at end of file
+}