Skip to content

Commit

Permalink
🐛 fix(identity): rename export signer function name >>> ⏰ 2m
Browse files Browse the repository at this point in the history
  • Loading branch information
logicalangel committed Apr 27, 2024
1 parent af364a8 commit 1458717
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion internal/service/evmlog/process.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion internal/service/uniswap/uniswap.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions internal/transport/client/conn/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1458717

Please sign in to comment.