Skip to content

Commit

Permalink
Merge pull request #488 from nkryuchkov/fix/handshake-bug
Browse files Browse the repository at this point in the history
Fix bug with handshake error type
  • Loading branch information
nkryuchkov authored Aug 19, 2020
2 parents 29550cb + 9573aba commit 4be1833
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/snet/directtp/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,11 @@ func (c *client) acceptConn() error {

wrappedConn, err := tpconn.NewConn(connConfig)
if err != nil {
return fmt.Errorf("newConn: %w", err)
return err
}

if err := lis.Introduce(wrappedConn); err != nil {
return fmt.Errorf("introduce: %w", err)
return err
}

return nil
Expand Down

0 comments on commit 4be1833

Please sign in to comment.