Skip to content

Commit

Permalink
rpc: increment api version
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGruffins committed Jul 26, 2019
1 parent 70f408d commit 1edecf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions backend/stakepoold/rpc/rpcserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const (
// collection cycle to also trigger a timeout but the current allocation
// pattern of stakepoold is not known to cause such conditions at this time.
GRPCCommandTimeout = time.Millisecond * 100
semverString = "5.0.0"
semverMajor = 5
semverString = "6.0.0"
semverMajor = 6
semverMinor = 0
semverPatch = 0
)
Expand Down
2 changes: 1 addition & 1 deletion stakepooldclient/stakepooldclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"golang.org/x/net/context"
)

var requiredStakepooldAPI = semver{major: 5, minor: 0, patch: 0}
var requiredStakepooldAPI = semver{major: 6, minor: 0, patch: 0}

type StakepooldManager struct {
grpcConnections []*grpc.ClientConn
Expand Down

0 comments on commit 1edecf6

Please sign in to comment.