walletrpc: improve protobuf/grpc package naming

This commit is contained in:
George Tankersley
2019-01-07 19:20:47 +00:00
parent 7726a6752d
commit d08abe82b4
10 changed files with 123 additions and 117 deletions

View File

@@ -16,7 +16,7 @@ import (
"google.golang.org/grpc/reflection"
"github.com/zcash-hackworks/lightwalletd/frontend"
"github.com/zcash-hackworks/lightwalletd/rpc"
"github.com/zcash-hackworks/lightwalletd/walletrpc"
)
var log *logrus.Entry
@@ -147,7 +147,7 @@ func main() {
defer service.(*frontend.SqlStreamer).GracefulStop()
// Register service
rpc.RegisterCompactTxStreamerServer(server, service)
walletrpc.RegisterCompactTxStreamerServer(server, service)
// Start listening
listener, err := net.Listen("tcp", opts.bindAddr)