quiet.
This commit is contained in:
parent
85553133ce
commit
adc73cbc9d
2 changed files with 2 additions and 2 deletions
|
@ -36,7 +36,7 @@ func (db *LevelDb) getBlkLoc(sha *btcwire.ShaHash) (int64, error) {
|
||||||
dr := bytes.NewBuffer(data)
|
dr := bytes.NewBuffer(data)
|
||||||
err = binary.Read(dr, binary.LittleEndian, &blkHeight)
|
err = binary.Read(dr, binary.LittleEndian, &blkHeight)
|
||||||
if err != nil {
|
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")
|
err = fmt.Errorf("Db Corrupt 0")
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
|
|
|
@ -489,7 +489,7 @@ func (db *LevelDb) processBatches() error {
|
||||||
|
|
||||||
err = db.lDb.Write(db.lbatch, db.wo)
|
err = db.lDb.Write(db.lbatch, db.wo)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("batch failed %v\n", err)
|
log.Tracef("batch failed %v\n", err)
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
db.lbatch.Reset()
|
db.lbatch.Reset()
|
||||||
|
|
Loading…
Reference in a new issue