removed some debug statements
imw imw@0x539.lol
Fri, 14 Dec 2018 15:35:08 +0100
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)