Skip to content

Commit

Permalink
rpc: revert backport until 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
iquidus committed Dec 29, 2019
1 parent 638f2a2 commit c25f707
Show file tree
Hide file tree
Showing 37 changed files with 2,066 additions and 2,255 deletions.
10 changes: 5 additions & 5 deletions cmd/gubiq/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ import (
"github.com/ubiq/go-ubiq/eth"
"github.com/ubiq/go-ubiq/ethclient"
"github.com/ubiq/go-ubiq/internal/debug"
"github.com/ubiq/go-ubiq/internal/openrpc"
// "github.com/ubiq/go-ubiq/internal/openrpc"
"github.com/ubiq/go-ubiq/log"
"github.com/ubiq/go-ubiq/metrics"
"github.com/ubiq/go-ubiq/node"
"github.com/ubiq/go-ubiq/rpc"
// "github.com/ubiq/go-ubiq/rpc"
cli "gopkg.in/urfave/cli.v1"
)

Expand Down Expand Up @@ -251,9 +251,9 @@ func init() {
return nil
}

if err := rpc.SetDefaultOpenRPCSchemaRaw(openrpc.OpenRPCSchema); err != nil {
log.Crit("Setting OpenRPC default", "error", err)
}
// if err := rpc.SetDefaultOpenRPCSchemaRaw(openrpc.OpenRPCSchema); err != nil {
// log.Crit("Setting OpenRPC default", "error", err)
// }
}

func main() {
Expand Down
Loading

0 comments on commit c25f707

Please sign in to comment.