From 82d2eec4fe6dda867dd72db9e6af9e0e5d52a6de Mon Sep 17 00:00:00 2001 From: Felix Lange Date: Fri, 8 Sep 2017 19:29:15 +0200 Subject: [PATCH] core: fix HasBlock comment --- core/blockchain.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/blockchain.go b/core/blockchain.go index 63266a3419..25be8d762a 100644 --- a/core/blockchain.go +++ b/core/blockchain.go @@ -514,8 +514,7 @@ func (bc *BlockChain) GetBodyRLP(hash common.Hash) rlp.RawValue { return body } -// HasBlock checks if a block is fully present in the database or not, caching -// it if present. +// HasBlock checks if a block is fully present in the database or not. func (bc *BlockChain) HasBlock(hash common.Hash, number uint64) bool { if bc.blockCache.Contains(hash) { return true