Skip to content

Commit

Permalink
remove miner useless log (OpenAtomFoundation#388)
Browse files Browse the repository at this point in the history
* remove miner useless log
  • Loading branch information
godeamon authored Dec 7, 2022
1 parent 5a3396e commit 58a1f5a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions kernel/engines/xuperos/miner/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ func (t *Miner) step() error {
if t.status == statusFollowing || isSync {
ctx.GetLog().Info("miner change follow=>miner",
"miner", t.ctx.Address.Address,
"netAddr", t.ctx.EngCtx.Net.PeerInfo().Id,
"height", t.ctx.Ledger.GetMeta().GetTrunkHeight(),
)

Expand Down Expand Up @@ -221,7 +220,6 @@ func (t *Miner) step() error {
if t.status == statusMining {
ctx.GetLog().Info("miner change miner=>following",
"miner", t.ctx.Address.Address,
"netAddr", t.ctx.EngCtx.Net.PeerInfo().Id,
"height", t.ctx.Ledger.GetMeta().GetTrunkHeight(),
)
}
Expand Down

0 comments on commit 58a1f5a

Please sign in to comment.