log block cid in the large delay warning
This commit is contained in:
parent
191a05da48
commit
22e465ba9c
@ -101,7 +101,7 @@ func HandleIncomingBlocks(ctx context.Context, bsub *pubsub.Subscription, s *cha
|
||||
[]tag.Mutator{tag.Insert(metrics.MinerID, blk.Header.Miner.String())},
|
||||
metrics.BlockDelay.M(delay),
|
||||
)
|
||||
log.Warnf("Received block with large delay %d from miner %s", delay, blk.Header.Miner)
|
||||
log.Warnf("Received block %s with large delay %d from miner %s", blk.Cid(), delay, blk.Header.Miner)
|
||||
}
|
||||
|
||||
if s.InformNewBlock(msg.ReceivedFrom, &types.FullBlock{
|
||||
|
Loading…
Reference in New Issue
Block a user