diff --git a/core/blockarchiver/service.go b/core/blockarchiver/service.go index afcf0b1060..60210ab326 100644 --- a/core/blockarchiver/service.go +++ b/core/blockarchiver/service.go @@ -175,7 +175,9 @@ func (c *BlockArchiverService) getBlockByNumber(number uint64) (*types.Body, *ty // GetBlockByHash returns the block by hash func (c *BlockArchiverService) GetBlockByHash(hash common.Hash) (*types.Body, *types.Header, error) { - log.Info("get block by hash", "hash", hash) + log.Info("get block by hash", "hash", hash.Hex()) + log.Debug(hash.Hex()) + // check if the block is in the cach body, foundB := c.bodyCache.Get(hash) header, foundH := c.headerCache.Get(hash) if foundB && foundH {