Skip to content

Commit

Permalink
Format.
Browse files Browse the repository at this point in the history
  • Loading branch information
志宇 committed Mar 3, 2020
1 parent 447862e commit 0e696f0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 0 additions & 2 deletions pkg/transport-discovery/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import (

var log = logging.MustGetLogger("transport-discovery")



// JSONError is the object returned to the client when there's an error.
type JSONError struct {
Error string `json:"error"`
Expand Down
1 change: 1 addition & 0 deletions pkg/transport/managed_transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (

"github.com/SkycoinProject/dmsg/httputil"
"github.com/SkycoinProject/dmsg/netutil"

"github.com/SkycoinProject/skywire-mainnet/internal/skyenv"
"github.com/SkycoinProject/skywire-mainnet/pkg/routing"
"github.com/SkycoinProject/skywire-mainnet/pkg/snet"
Expand Down
2 changes: 1 addition & 1 deletion pkg/visor/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (rc *rpcClient) DiscoverTransportByID(id uuid.UUID) (*transport.EntryWithSt

// RoutingRules calls RoutingRules.
func (rc *rpcClient) RoutingRules() ([]routing.Rule, error) {
entries := make([]routing.Rule, 0)
entries := make([]routing.Rule, 0)
err := rc.Call("RoutingRules", &struct{}{}, &entries)
return entries, err
}
Expand Down

0 comments on commit 0e696f0

Please sign in to comment.