Skip to content

Commit

Permalink
config default rpc port and rule creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ivcosla committed Mar 6, 2019
1 parent 9552745 commit eea3cc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/skywire-cli/commands/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func defaultConfig() *node.Config {

conf.LogLevel = "info"

conf.Interfaces.RPCAddress = "localhost:3436"
conf.Interfaces.RPCAddress = "localhost:3435"

return conf
}
Expand Down
4 changes: 3 additions & 1 deletion pkg/router/route_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@ func (rm *routeManager) RemoveLoopRule(addr *app.LoopAddr) error {
}

appRouteID = routeID
appRule = rule
appRule = make(routing.Rule, len(rule))
copy(appRule, rule)

return false
})
if err != nil {
Expand Down

0 comments on commit eea3cc8

Please sign in to comment.