Skip to content

Commit

Permalink
todos
Browse files Browse the repository at this point in the history
  • Loading branch information
rach-id committed Aug 27, 2024
1 parent fcc4a13 commit e53f0f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion p2p/peer.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,8 @@ func (p *peer) SocketAddr() *NetAddress {
// Status returns the peer's ConnectionStatus.
func (p *peer) Status() ConnectionStatus {
return ConnectionStatus{
Duration: time.Since(p.created),
Duration: time.Since(p.created),
// TODO(rach-id): register ecdsa.PublicKey protobuf definition
ConnectionState: p.conn.ConnectionState(),
}
}
Expand Down
1 change: 0 additions & 1 deletion p2p/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ func (mt *MultiplexTransport) Dial(
}

// TODO(xla): Evaluate if we should apply filters if we explicitly dial.
//TODO(rach-id): remove peer when disconnected.
if err := mt.filterConn(c); err != nil {
return nil, err
}
Expand Down

0 comments on commit e53f0f9

Please sign in to comment.