Browse Source

privval: remove misplaced debug statement (#4103)

Co-Authored-By: Bot from GolangCI <42910462+golangcibot@users.noreply.github.com>

There's no debug statement in Read func, so should be OK remove this one too.
pull/4107/head
cosmostuba 5 years ago
committed by Anton Kaliaev
parent
commit
0335d07ff6
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      privval/signer_endpoint.go

+ 0
- 2
privval/signer_endpoint.go View File

@ -122,8 +122,6 @@ func (se *signerEndpoint) WriteMessage(msg SignerMessage) (err error) {
// Reset read deadline // Reset read deadline
deadline := time.Now().Add(se.timeoutReadWrite) deadline := time.Now().Add(se.timeoutReadWrite)
se.Logger.Debug("Write::Error Resetting deadline", "obj", se)
err = se.conn.SetWriteDeadline(deadline) err = se.conn.SetWriteDeadline(deadline)
if err != nil { if err != nil {
return return


Loading…
Cancel
Save