From adc73cbc9daafde824571f847c15d4565dda2b3e Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Tue, 10 Sep 2013 11:25:13 -0400 Subject: [PATCH] quiet. --- ldb/block.go | 2 +- ldb/leveldb.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ldb/block.go b/ldb/block.go index ab7e500f..c7471cb4 100644 --- a/ldb/block.go +++ b/ldb/block.go @@ -36,7 +36,7 @@ func (db *LevelDb) getBlkLoc(sha *btcwire.ShaHash) (int64, error) { dr := bytes.NewBuffer(data) err = binary.Read(dr, binary.LittleEndian, &blkHeight) if err != nil { - fmt.Printf("get getBlkLoc len %v\n", len(data)) + log.Tracef("get getBlkLoc len %v\n", len(data)) err = fmt.Errorf("Db Corrupt 0") return 0, err } diff --git a/ldb/leveldb.go b/ldb/leveldb.go index 8d445029..ed22318f 100644 --- a/ldb/leveldb.go +++ b/ldb/leveldb.go @@ -489,7 +489,7 @@ func (db *LevelDb) processBatches() error { err = db.lDb.Write(db.lbatch, db.wo) if err != nil { - fmt.Printf("batch failed %v\n", err) + log.Tracef("batch failed %v\n", err) return err } db.lbatch.Reset()