Skip to content

Commit

Permalink
Remove duplicate of getNextInitID
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkren committed Jun 16, 2019
1 parent dcaba2a commit 21ab69f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions pkg/dmsg/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,6 @@ func (c *ClientConn) setNextInitID(nextInitID uint16) {
c.mx.Unlock()
}

/*func (c *ClientConn) getNextInitID() uint16 {
c.mx.RLock()
id := c.nextInitID
c.mx.RUnlock()
return id
}*/

func (c *ClientConn) handleRequestFrame(ctx context.Context, accept chan<- *Transport, id uint16, p []byte) (cipher.PubKey, error) {
// remotely-initiated tps should:
// - have a payload structured as 'init_pk:resp_pk'.
Expand Down

0 comments on commit 21ab69f

Please sign in to comment.