Merge pull request #610 from hermeznetwork/feature/float40-floor

Add NewFloor40Floor helper method
This commit is contained in:
Eduard S
2021-03-03 12:07:50 +01:00
committed by GitHub
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
}