From 88122f053f337ec3c04b534613ccf3dc1ce93b19 Mon Sep 17 00:00:00 2001 From: imw Date: Fri, 14 Dec 2018 15:35:08 +0100 Subject: [PATCH] removed some debug statements --- batch/batch.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/batch/batch.go b/batch/batch.go index 09839a8..6216f3c 100644 --- a/batch/batch.go +++ b/batch/batch.go @@ -44,20 +44,16 @@ func Add(p types.Packet) error { 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)