arnaucube
arnaucube/go-dvotePublic Self-hosted repository
removed some debug statements
imw imw@0x539.lol
Fri, 14 Dec 2018 15:35:08 +0100
commit

88122f053f337ec3c04b534613ccf3dc1ce93b19

parent

dadc5e3291a8e48d40bb97319f7206c45cf963c3

1 files changed, 1 insertions(+), 5 deletions(-)

jump to
M batch/batch.go → batch/batch.go

@@ -44,20 +44,16 @@ err := BDB.Put([]byte(fmt.Sprintf("%v", p.Nullifier)),[]byte(fmt.Sprintf("%v", p)), nil)

if err != nil { return err } + currentBatchSize++ - fmt.Println(currentBatchSize) if currentBatchSize >= BatchSize { - fmt.Println("sending ready") BatchSignal <- true - fmt.Println("sent ready") } - fmt.Println("returning") return nil } //create (return batch) func Create() []byte { - fmt.Println("Creating batch") DB, err = leveldb.OpenFile(DBPath, nil) if err != nil { panic(err)