aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/random_bugs/create_random_bugs.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/random_bugs/create_random_bugs.go b/misc/random_bugs/create_random_bugs.go
index 7ac18db4..2de77722 100644
--- a/misc/random_bugs/create_random_bugs.go
+++ b/misc/random_bugs/create_random_bugs.go
@@ -157,14 +157,14 @@ func GenerateRandomOperationPacksWithSeed(packNumber int, opNumber int, seed int
return result
}
-func person() identity.Interface {
+func person() *identity.Identity {
return identity.NewIdentity(fake.FullName(), fake.EmailAddress())
}
-var persons []identity.Interface
+var persons []*identity.Identity
func generateRandomPersons(repo repository.ClockedRepo, n int) {
- persons = make([]identity.Interface, n)
+ persons = make([]*identity.Identity, n)
for i := range persons {
p := person()
err := p.Commit(repo)