Replace errors.New() with ErrInternal()/ErrTimeout() and errors.Unwrap(err) with err.Unwrap() — the MiningError type provides both without the banned import. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| database | ||
| logging | ||
| mining | ||
| node | ||
| ueps | ||
Replace errors.New() with ErrInternal()/ErrTimeout() and errors.Unwrap(err) with err.Unwrap() — the MiningError type provides both without the banned import. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| database | ||
| logging | ||
| mining | ||
| node | ||
| ueps | ||