worker.go imported encoding/json directly and called json.Unmarshal at two call sites. bufpool.go already provided MarshalJSON as the package wrapper; add matching UnmarshalJSON and route both worker.go call sites through it, removing the encoding/json import from worker.go. Co-Authored-By: Charon <charon@lethean.io> |
||
|---|---|---|
| .. | ||
| database | ||
| logging | ||
| mining | ||
| node | ||
| ueps | ||