delete ImportPrivateKey error
@@ -8,7 +8,6 @@ import (
"github.com/33cn/chain33/system/crypto/secp256k1"
chain33Types "github.com/33cn/chain33/types"
wcom "github.com/33cn/chain33/wallet/common"
- syncTx "github.com/33cn/plugin/plugin/dapp/cross2eth/ebrelayer/relayer/chain33/transceiver/sync"
x2ethTypes "github.com/33cn/plugin/plugin/dapp/cross2eth/ebrelayer/types"
btcec_secp256k1 "github.com/btcsuite/btcd/btcec"
"github.com/ethereum/go-ethereum/crypto"
@@ -67,12 +66,6 @@ func (chain33Relayer *Relayer4Chain33) ImportPrivateKey(passphrase, privateKeySt
temp, _ := btcec_secp256k1.PrivKeyFromBytes(btcec_secp256k1.S256(), priKey.Bytes())
chain33Relayer.privateKey4Chain33_ecdsa = temp.ToECDSA()
chain33Relayer.rwLock.Unlock()
- chain33Relayer.syncEvmTxLogs, err = syncTx.StartSyncEvmTxLogs(chain33Relayer.syncCfg, chain33Relayer.db)
- relayerLog.Debug("ImportPrivateKey", " chain33Relayer.syncEvmTxLogs", chain33Relayer.syncEvmTxLogs)
- if nil != err {
- return err
- }
-
chain33Relayer.unlockChan <- start
addr := address.PubKeyToAddr(priKey.PubKey().Bytes())
