Browse Source

use stdlib context

pull/845/head
Ethan Buchman 7 years ago
parent
commit
844c43e044
4 changed files with 5 additions and 4 deletions
  1. +1
    -1
      rpc/grpc/api.go
  2. +1
    -1
      rpc/grpc/grpc_test.go
  3. +2
    -1
      rpc/grpc/types.pb.go
  4. +1
    -1
      test/app/grpc_client.go

+ 1
- 1
rpc/grpc/api.go View File

@ -1,7 +1,7 @@
package core_grpc
import (
context "golang.org/x/net/context"
"context"
abci "github.com/tendermint/abci/types"
core "github.com/tendermint/tendermint/rpc/core"


+ 1
- 1
rpc/grpc/grpc_test.go View File

@ -1,11 +1,11 @@
package core_grpc_test
import (
"context"
"os"
"testing"
"github.com/stretchr/testify/require"
"golang.org/x/net/context"
"github.com/tendermint/abci/example/dummy"
"github.com/tendermint/tendermint/rpc/grpc"


+ 2
- 1
rpc/grpc/types.pb.go View File

@ -22,7 +22,8 @@ import math "math"
import types "github.com/tendermint/abci/types"
import (
context "golang.org/x/net/context"
"context"
grpc "google.golang.org/grpc"
)


+ 1
- 1
test/app/grpc_client.go View File

@ -5,7 +5,7 @@ import (
"fmt"
"os"
"golang.org/x/net/context"
"context"
"github.com/tendermint/go-wire"
"github.com/tendermint/tendermint/rpc/grpc"


Loading…
Cancel
Save