From 1458717f13820015890df794d69ce6be7ee121cb Mon Sep 17 00:00:00 2001 From: Parya Rastegar Date: Sat, 27 Apr 2024 20:26:39 +0330 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(identity):=20rename=20export?= =?UTF-8?q?=20signer=20function=20name=20>>>=20=E2=8F=B0=202m?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/service/evmlog/process.go | 2 +- internal/service/uniswap/uniswap.go | 2 +- internal/transport/client/conn/conn.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/service/evmlog/process.go b/internal/service/evmlog/process.go index 6a5b755c..d07759df 100644 --- a/internal/service/evmlog/process.go +++ b/internal/service/evmlog/process.go @@ -174,7 +174,7 @@ func (s *service) ProcessBlocks(ctx context.Context, chain string) error { err = s.RecordSignature( ctx, signature, - *crypto.Identity.ExportBlsSigner(), + *crypto.Identity.ExportEvmSigner(), hash, event, false, diff --git a/internal/service/uniswap/uniswap.go b/internal/service/uniswap/uniswap.go index 9a000c11..411b1d90 100644 --- a/internal/service/uniswap/uniswap.go +++ b/internal/service/uniswap/uniswap.go @@ -371,7 +371,7 @@ func (s *service) syncBlock(ctx context.Context, token model.Token, caser cases. err = s.RecordSignature( ctx, signature, - *crypto.Identity.ExportBlsSigner(), + *crypto.Identity.ExportEvmSigner(), hash, priceInfo, false, diff --git a/internal/transport/client/conn/conn.go b/internal/transport/client/conn/conn.go index 95e88c2a..87a15bc3 100644 --- a/internal/transport/client/conn/conn.go +++ b/internal/transport/client/conn/conn.go @@ -38,13 +38,13 @@ func Start() { panic(err) } - Send(consts.OpCodeHello, crypto.Identity.ExportBlsSigner().Sia().Bytes()) + Send(consts.OpCodeHello, crypto.Identity.ExportEvmSigner().Sia().Bytes()) } func Reconnect(err error) { if websocket.IsUnexpectedCloseError(err) { Close() - hello := crypto.Identity.ExportBlsSigner().Sia().Bytes() + hello := crypto.Identity.ExportEvmSigner().Sia().Bytes() for i := 1; i < 6; i++ { time.Sleep(time.Duration(i) * 3 * time.Second)