Skip to content

Commit

Permalink
grpc server compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
si-co committed Sep 24, 2021
1 parent fdc104e commit a86e8a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
3 changes: 1 addition & 2 deletions cmd/grpc/server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import (
"runtime/pprof"
"syscall"

"github.com/si-co/vpir-code/lib/constants"
"github.com/si-co/vpir-code/lib/database"
"github.com/si-co/vpir-code/lib/pgp"
"github.com/si-co/vpir-code/lib/utils"
Expand Down Expand Up @@ -264,7 +263,7 @@ func loadPgpDB(filesNumber int, rebalanced bool) (*database.DB, error) {
// take only filesNumber files
files := getSksFiles(filesNumber)

db, err := database.GenerateRealKeyDB(files, constants.ChunkBytesLength, rebalanced)
db, err := database.GenerateRealKeyDB(files)
if err != nil {
return nil, err
}
Expand Down
5 changes: 1 addition & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,14 @@ require (
github.com/BurntSushi/toml v0.3.1
github.com/bwesterb/go-ristretto v1.2.0 // indirect
github.com/cloudflare/circl v1.0.1-0.20210315192536-3977848c88c6
github.com/dimakogan/dpf-go v0.0.0-20210127221207-b1d9b62bab9b
github.com/edsrzf/mmap-go v1.0.0
github.com/golang/protobuf v1.5.2
github.com/ldsec/lattigo/v2 v2.1.1
github.com/lukechampine/fastxor v0.0.0-20210322201628-b664bed5a5cc
github.com/nikirill/go-crypto v0.0.0-20210204153324-694bf46cc691
github.com/stretchr/testify v1.7.0
go.etcd.io/bbolt v1.3.5
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 // indirect
golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57
golang.org/x/sys v0.0.0-20210403161142-5e06dd20ab57 // indirect
golang.org/x/text v0.3.6 // indirect
golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1
google.golang.org/genproto v0.0.0-20210406143921-e86de6bf7a46 // indirect
Expand Down

0 comments on commit a86e8a0

Please sign in to comment.