Skip to content

Commit

Permalink
Fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
dimriou committed May 20, 2024
1 parent b30ee01 commit a851aef
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/chains/evm/monitor/balance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,10 @@ func Test_ApproximateFloat64(t *testing.T) {
}
}

func callbackOrTimeout(t testing.TB, msg string, callback func(), durationParams ...time.Duration) {
func callbackOrTimeout(t testing.TB, msg string, callback func()) {
t.Helper()

duration := 100 * time.Millisecond
if len(durationParams) > 0 {
duration = durationParams[0]
}

done := make(chan struct{})
go func() {
Expand Down

0 comments on commit a851aef

Please sign in to comment.