Add NewFloor40Floor helper method

Also added tracerr.Wrap(...) to missing places.
This commit is contained in:
arnaucube
2021-03-03 11:35:50 +01:00
parent e460a7e58b
commit dfd49164f4
9 changed files with 85 additions and 22 deletions

View File

@@ -458,7 +458,7 @@ func (k *KVDB) CheckpointExists(batchNum common.BatchNum) (bool, error) {
if _, err := os.Stat(source); os.IsNotExist(err) {
return false, nil
} else if err != nil {
return false, err
return false, tracerr.Wrap(err)
}
return true, nil
}