linting
This commit is contained in:
@@ -843,7 +843,7 @@ func (c *ledgerClient) callContext(ctx context.Context) (context.Context, contex
|
||||
if timeout <= 0 {
|
||||
timeout = 3 * time.Second
|
||||
}
|
||||
return context.WithTimeout(ctx, timeout)
|
||||
return context.WithTimeout(ctx, timeout) //nolint:gosec // cancel func is always invoked by call sites
|
||||
}
|
||||
|
||||
func isLedgerRail(value string) bool {
|
||||
|
||||
Reference in New Issue
Block a user