Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Commit

Permalink
fix: remove logger from FetchDeposits function err log that bubbles up
Browse files Browse the repository at this point in the history
  • Loading branch information
P1sar committed Sep 13, 2023
1 parent caa0d82 commit 7832d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chains/evm/calls/events/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func (l *Listener) FetchDeposits(ctx context.Context, contractAddress common.Add

logs, err := l.client.FetchEventLogs(ctx, contractAddress, string(DepositSig), startBlock, endBlock)
if err != nil {
return nil, observability.LogAndRecordErrorWithStatus(&logger, span, err, "failed FetchEventLogs")
return nil, observability.LogAndRecordErrorWithStatus(nil, span, err, "failed FetchEventLogs")
}
deposits := make([]*Deposit, 0)

Expand Down

0 comments on commit 7832d01

Please sign in to comment.