Skip to content

Commit

Permalink
resolve review issues (1 of x).
Browse files Browse the repository at this point in the history
  • Loading branch information
dnldd committed Feb 15, 2021
1 parent f802a91 commit 7e5be5c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/miner/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (m *Miner) keepAlive(ctx context.Context) {
m.encoder = json.NewEncoder(m.conn)
m.reader = bufio.NewReader(m.conn)

log.Tracef("miner connected to %s", m.config.Pool)
log.Infof("miner connected to %s", m.config.Pool)

m.connectedMtx.Lock()
m.connected = true
Expand Down
2 changes: 1 addition & 1 deletion cmd/miner/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ func loadConfig() (*config, []string, error) {
// done. This prevents the warning on help messages and invalid
// options. Note this should go directly before the return.
if configFileError != nil {
log.Tracef("%v", configFileError)
log.Warnf("%v", configFileError)
}

return &cfg, remainingArgs, nil
Expand Down
2 changes: 1 addition & 1 deletion pool/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ func (c *Client) process() {
if errors.Is(err, errs.NetworkDifficulty) {
// Submissions less than the network difficulty should
// not be treated as errors.
log.Trace(err)
log.Debug(err)
continue
}

Expand Down
2 changes: 1 addition & 1 deletion pool/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ func (e *Endpoint) connect(ctx context.Context) {
e.wg.Add(1)
go client.run()

log.Tracef("Mining client connected. extranonce1=%s, addr=%s",
log.Infof("Mining client connected. extranonce1=%s, addr=%s",
client.extraNonce1, client.addr)

close(msg.Done)
Expand Down

0 comments on commit 7e5be5c

Please sign in to comment.