fmt is a banned import (AX §banned-imports). miner_factory.go used fmt.Errorf for the unsupported-miner error path; the package already provides ErrUnsupportedMiner() in errors.go, so use that instead and drop the fmt import entirely. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| database | ||
| logging | ||
| mining | ||
| node | ||
| ueps | ||