Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ivcosla committed Mar 7, 2019
1 parent 2f50a35 commit 2a7c47e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions cmd/skywire-cli/commands/transports.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ func (p pkSlice) Type() string {

func makeTransportsCmds() *cobra.Command {
var (
typesFilter []string
pksFilter pkSlice
logs bool
typesFilter []string
pksFilter pkSlice
logs bool
transportType string
public bool
public bool
)

tabPrint := func(trList ...*node.TransportSummary) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/node/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ type AddTransportIn struct {

// AddTransport creates a transport for the node.
func (r *RPC) AddTransport(in *AddTransportIn, out *TransportSummary) error {
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
ctx, cancel := context.WithTimeout(context.Background(), time.Second*20)
defer cancel()
tp, err := r.node.tm.CreateTransport(ctx, in.RemotePK, in.TpType, in.Public)
if err != nil {
Expand Down

0 comments on commit 2a7c47e

Please sign in to comment.