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 package core_grpc
import ( import (
context "golang.org/x/net/context"
"context"
abci "github.com/tendermint/abci/types" abci "github.com/tendermint/abci/types"
core "github.com/tendermint/tendermint/rpc/core" core "github.com/tendermint/tendermint/rpc/core"


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

@ -1,11 +1,11 @@
package core_grpc_test package core_grpc_test
import ( import (
"context"
"os" "os"
"testing" "testing"
"github.com/stretchr/testify/require" "github.com/stretchr/testify/require"
"golang.org/x/net/context"
"github.com/tendermint/abci/example/dummy" "github.com/tendermint/abci/example/dummy"
"github.com/tendermint/tendermint/rpc/grpc" "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 types "github.com/tendermint/abci/types"
import ( import (
context "golang.org/x/net/context"
"context"
grpc "google.golang.org/grpc" grpc "google.golang.org/grpc"
) )


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

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


Loading…
Cancel
Save