Skip to content
Snippets Groups Projects
Commit 23b1beaf authored by Josh Brooks's avatar Josh Brooks
Browse files

Fix pipeline

parent bd4e19b3
No related branches found
No related tags found
2 merge requests!170Release,!143added mechanisim to replay all requests. they will replay on recept if the...
...@@ -14,7 +14,6 @@ import ( ...@@ -14,7 +14,6 @@ import (
"gitlab.com/elixxir/client/storage/hostList" "gitlab.com/elixxir/client/storage/hostList"
"gitlab.com/elixxir/client/storage/rounds" "gitlab.com/elixxir/client/storage/rounds"
"gitlab.com/xx_network/primitives/rateLimiting" "gitlab.com/xx_network/primitives/rateLimiting"
"math/rand"
"sync" "sync"
"testing" "testing"
"time" "time"
...@@ -487,15 +486,14 @@ func InitTestingSession(i interface{}) *Session { ...@@ -487,15 +486,14 @@ func InitTestingSession(i interface{}) *Session {
s.hostList = hostList.NewStore(s.kv) s.hostList = hostList.NewStore(s.kv)
grp := cyclic.NewGroup(large.NewInt(173), large.NewInt(2))
privKeys := make([]*cyclic.Int, 10) privKeys := make([]*cyclic.Int, 10)
pubKeys := make([]*cyclic.Int, 10) pubKeys := make([]*cyclic.Int, 10)
for i := range privKeys { for i := range privKeys {
privKeys[i] = grp.NewInt(rand.Int63n(172)) privKeys[i] = cmixGrp.NewInt(5)
pubKeys[i] = grp.ExpG(privKeys[i], grp.NewInt(1)) pubKeys[i] = cmixGrp.ExpG(privKeys[i], cmixGrp.NewInt(1))
} }
s.auth, err = auth.NewStore(s.kv, grp, privKeys) s.auth, err = auth.NewStore(s.kv, cmixGrp, privKeys)
if err != nil { if err != nil {
jww.FATAL.Panicf("Failed to create auth store: %v", err) jww.FATAL.Panicf("Failed to create auth store: %v", err)
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment