Skip to content

Commit 2359568

Browse files
authored
fix: set logger to nill (#117)
<!--- Provide a general summary of your changes in the Title above --> ## Description <!--- Describe your changes in detail --> ## Related Issue Or Context <!--- If suggesting a new feature or change, please discuss it in an issue first --> <!--- If fixing a bug, there should be an issue describing it with steps to reproduce --> <!--- Otherwise, describe context and motivation for change herre --> Closes: #<issue> ## How Has This Been Tested? Testing details. <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## Types of changes <!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: --> - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation ## Checklist: <!--- Go over all the following points, and put an `x` in all the boxes that apply. --> <!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> - [ ] I have commented my code, particularly in hard-to-understand areas. - [ ] I have ensured that all acceptance criteria (or expected behavior) from issue are met - [ ] I have updated the documentation locally and in docs. - [ ] I have added tests to cover my changes. - [ ] I have ensured that all the checks are passing and green, I've signed the CLA bot
1 parent e2b2001 commit 2359568

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

protocol/lighter/api.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"time"
1111

1212
"github.com/hashicorp/go-retryablehttp"
13-
"github.com/rs/zerolog/log"
1413
)
1514

1615
const (
@@ -83,7 +82,7 @@ func NewLighterAPI() *LighterAPI {
8382
retryClient.RetryWaitMin = TX_NOT_FOUND_RETRY_WAIT
8483
retryClient.RetryWaitMax = TX_NOT_FOUND_RETRY_WAIT
8584
retryClient.CheckRetry = LighterCheckRetry
86-
retryClient.Logger = log.Logger
85+
retryClient.Logger = nil
8786

8887
return &LighterAPI{
8988
HTTPClient: retryClient.StandardClient(),

0 commit comments

Comments
 (0)