Bugfix proxy request handler

This commit is contained in:
9seconds
2018-07-05 14:59:33 +03:00
parent 4ed877efbc
commit 4210cf014e
3 changed files with 7 additions and 8 deletions
-2
View File
@@ -1,7 +1,6 @@
package telegram
import (
"fmt"
"io"
"net"
"net/http"
@@ -131,7 +130,6 @@ func (t *middleTelegram) receiveRPCHandshakeResponse(conn io.Reader, req *rpc.Ha
if err = rpcHandshakeResp.Valid(req); err != nil {
return nil, errors.Annotate(err, "Invalid RPC handshake response")
}
fmt.Println("VICTORY")
return rpcHandshakeResp, nil
}